decode

Summary

Decodes UTF-32 encoded text.

Usage

public static string decode(byte[] utf32EncodedData)

Returns

The decoded text.

Parameters

utf32EncodedData

The UTF-32 encoded byte sequence to decode.

Description

Decodes UTF-32 encoded text.

Examples

Basic Usage
1
2
3
4
5
6
7
import System;
import System.Encoding;
  
byte[] encoded = [ 0xFF, 0xFE, 0x0, 0x0, 0xAC, 0x20, 0x0, 0x0 ];
string decoded = UTF32.decode(encoded);
  
Console.log(decoded); // "�"

Share

HTML | BBCode | Direct Link