MetadataStringDecoder.GetString(Byte*, Int32) Method
Definition
Important
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.
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
Werk met ons samen op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en bekijken. Raadpleeg onze gids voor inzenders voor meer informatie.