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

◆ EnsureReadable()

void System.IO.UnmanagedMemoryStream.EnsureReadable ( )
inlineprivateinherited

Definition at line 258 of file UnmanagedMemoryStream.cs.

259 {
260 if (!CanRead)
261 {
262 ThrowHelper.ThrowNotSupportedException_UnreadableStream();
263 }
264 }

References System.IO.UnmanagedMemoryStream.CanRead, and System.ThrowHelper.ThrowNotSupportedException_UnreadableStream().

Referenced by System.IO.UnmanagedMemoryStream.ReadByte(), and System.IO.UnmanagedMemoryStream.ReadCore().