Validate Buffer Arguments(Byte, Int32, Int32) Method
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Validates arguments provided to reading and writing methods on 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)
The array "buffer" argument passed to the reading or writing method.
The integer "offset" argument passed to the reading or writing method.
The integer "count" argument passed to the reading or writing method.
offset was outside the bounds of
count was negative, or the range specified by the combination of
count exceed the length of