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범위를 벗어났거나 음수이거나 countcount 의 조합 offset 으로 지정된 범위가 의 buffer길이를 초과했습니다.

적용 대상