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

◆ CompleteRead()

bool System.Net.Base64Stream.ReadAsyncResult.CompleteRead ( IAsyncResult result)
inlineprivate

Definition at line 32 of file Base64Stream.cs.

33 {
35 if (_read == 0)
36 {
38 return true;
39 }
41 if (_read > 0)
42 {
44 return true;
45 }
46 return false;
47 }
virtual int EndRead(IAsyncResult asyncResult)
Definition Stream.cs:737
unsafe int DecodeBytes(byte[] buffer, int offset, int count)

References System.Net.Base64Stream.ReadAsyncResult._buffer, System.Net.Base64Stream.ReadAsyncResult._offset, System.Net.Base64Stream.ReadAsyncResult._parent, System.Net.Base64Stream.ReadAsyncResult._read, System.Net.DelegatedStream.BaseStream, System.Net.Base64Stream.DecodeBytes(), System.IO.Stream.EndRead(), and System.Net.LazyAsyncResult.InvokeCallback().

Referenced by System.Net.Base64Stream.ReadAsyncResult.OnRead(), and System.Net.Base64Stream.ReadAsyncResult.Read().