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

◆ BeginRead() [1/2]

override IAsyncResult System.Net.DelegatedStream.BeginRead ( byte[] buffer,
int offset,
int count,
AsyncCallback callback,
object state )
inlineinherited

Definition at line 60 of file DelegatedStream.cs.

61 {
62 if (!CanRead)
63 {
64 throw new NotSupportedException(System.SR.ReadNotSupported);
65 }
66 return _stream.BeginRead(buffer, offset, count, callback, state);
67 }
virtual IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state)
Definition Stream.cs:688
static string ReadNotSupported
Definition SR.cs:144
Definition SR.cs:7

References System.Net.DelegatedStream._stream, System.IO.Stream.BeginRead(), System.buffer, System.Net.DelegatedStream.CanRead, System.count, System.offset, System.SR.ReadNotSupported, and System.state.