InvalidUTF32Exception
Summary
Represents an exception for an invalid UTF-32 byte sequence.
Description
Represents an exception for an invalid UTF-32 byte sequence.
Examples
1 2 3 4 5 6 7 8 9 10 11 | import System; import System.Exceptions; import System.Encoding; try { byte [] encoded = [ 0xFF, 0xFE, 0x0, 0x0, 0xAC, 0x20, 0x0 ]; string decoded = UTF32.decode(encoded); } catch (InvalidUTF32Exception e) { Console.error(e); } |
Methods
InvalidUTF32Exception (Constructor)
Constructs a
System.Exceptions.InvalidUTF32Exception
object.
Share
HTML | BBCode | Direct Link