BlobReader(Byte*, Int32) Constructor

Definition

Creates a reader of the specified memory block.

public:
 BlobReader(System::Byte* buffer, int length);
public BlobReader (byte* buffer, int length);
new System.Reflection.Metadata.BlobReader : nativeptr<byte> * int -> System.Reflection.Metadata.BlobReader

Parameters

buffer
Byte*

A pointer to the start of the memory block.

length
Int32

Length in bytes of the memory block.

Exceptions

buffer is null and length is greater than zero.

length is negative.

The current platform is not little-endian.

Applies to