Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ EnsureWriteable()

void System.IO.MemoryStream.EnsureWriteable ( )
inlineprivateinherited

Definition at line 186 of file MemoryStream.cs.

187 {
188 if (!CanWrite)
189 {
190 ThrowHelper.ThrowNotSupportedException_UnwritableStream();
191 }
192 }
override bool CanWrite

References System.IO.MemoryStream.CanWrite, and System.ThrowHelper.ThrowNotSupportedException_UnwritableStream().

Referenced by System.IO.MemoryStream.SetLength(), System.IO.MemoryStream.Write(), System.IO.MemoryStream.Write(), and System.IO.MemoryStream.WriteByte().