C# 클래스 AK.F1.Timing.Extensions.StreamExtensions

System.IO.Stream extension class. This class is .
파일 보기 프로젝트 열기: simoneb/ak-f1-timing

공개 메소드들

메소드 설명
Fill ( this stream, byte buffer, int offset, int count ) : bool

Reads a sequences of bytes the stream and advances the position within the stream by the number read. If the end of the stream is reached before count bytes are read, this method will return , otherwise it will return which indicates that exactly count bytes have been written to the specified buffer.

메소드 상세

Fill() 공개 정적인 메소드

Reads a sequences of bytes the stream and advances the position within the stream by the number read. If the end of the stream is reached before count bytes are read, this method will return , otherwise it will return which indicates that exactly count bytes have been written to the specified buffer.
/// Thrown when is . /// /// Thrown when /// /// /// is negative or greater than the length /// of /// /// /// is negative or greater than the length of /// given . /// /// ///
public static Fill ( this stream, byte buffer, int offset, int count ) : bool
stream this The stream to read from.
buffer byte The buffer into which the read data is written.
offset int The offset in at which writing begins.
count int The exact number of bytes to read.
리턴 bool