Constructors: NewUTF8Encoding

NewUTF8Encoding

Returns a new UTF8Encoding object.



 Public Function NewUTF8Encoding(
	  ByVal ShouldEmitUTF8Identifier As Boolean,
	  Optional ByVal ShouldThrowException As Boolean ) As UTF8Encoding

Parameters

ShouldEmitUTF8Identifier
[ByVal] Boolean. Indicates whether or not the encoding should emit the preamble bytes in the GetPreamble method.
ShouldThrowException
[ByVal] Optional. Boolean. Signals whether or not the encoding should throw an exception if the the source bytes are invalid for creating a character array.

Return Values

UTF8Encoding - 

Remarks

See Also

Project VBCorLib Overview Class Constructors Overview Constructors Properties Constructors Methods NewUTF7Encoding NewVariants