Επεξεργασία

Κοινή χρήση μέσω


MetadataStringDecoder.GetString(Byte*, Int32) Method

Definition

Obtains strings for byte sequences in metadata. Override this to cache strings if required. Otherwise, it is implemented by forwarding straight to Encoding and every call will allocate a new string.

public:
 virtual System::String ^ GetString(System::Byte* bytes, int byteCount);
public virtual string GetString (byte* bytes, int byteCount);
abstract member GetString : nativeptr<byte> * int -> string
override this.GetString : nativeptr<byte> * int -> string

Parameters

bytes
Byte*

Pointer to bytes to decode.

byteCount
Int32

Number of bytes to decode.

Returns

The decoded string.

Applies to