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

◆ ReadAsync() [2/3]

override Task< int > System.Text.TranscodingStream.ReadAsync ( byte[] buffer,
int offset,
int count,
CancellationToken cancellationToken )
inlinevirtual

Reimplemented from System.IO.Stream.

Definition at line 255 of file TranscodingStream.cs.

256 {
258 return ReadAsync(new Memory<byte>(buffer, offset, count), cancellationToken).AsTask();
259 }
static void ValidateBufferArguments(byte[] buffer, int offset, int count)
Definition Stream.cs:1044
override Task< int > ReadAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)

References System.buffer, System.cancellationToken, System.count, System.offset, System.Text.TranscodingStream.ReadAsync(), and System.IO.Stream.ValidateBufferArguments().

Referenced by System.Text.TranscodingStream.BeginRead(), and System.Text.TranscodingStream.ReadAsync().