Stream.ValidateBufferArguments(Byte[], Int32, Int32) 메서드

정의

에서 메서드를 읽고 쓰는 데 제공된 인수의 유효성을 검사합니다 Stream.

protected:
 static void ValidateBufferArguments(cli::array <System::Byte> ^ buffer, int offset, int count);
protected static void ValidateBufferArguments(byte[] buffer, int offset, int count);
static member ValidateBufferArguments : byte[] * int * int -> unit
Protected Shared Sub ValidateBufferArguments (buffer As Byte(), offset As Integer, count As Integer)

매개 변수

buffer
Byte[]

읽기 또는 쓰기 메서드에 전달된 배열 "buffer" 인수입니다.

offset
Int32

읽기 또는 쓰기 메서드에 전달된 정수 "오프셋" 인수입니다.

count
Int32

읽기 또는 쓰기 메서드에 전달된 정수 "count" 인수입니다.

예외

buffer 가 있습니다 null.

offset 가 범위를 buffer벗어났거나 음수이거나 count 길이를 조합 offset 하여 지정한 범위이고 count 길이 buffer를 초과했습니다.

적용 대상