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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.