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
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.