- or download this
// s = '1234'
....
byte[] bytes = Encoding.Unicode.GetBytes(s);
// bytes = 49, 0, 50, 0, 51, 0, 52, 0
- or download this
my $data = encode("UTF-16LE", .....);
- or download this
my $data = encode("UTF-16", '1234');
- or download this
0xFE 0xFF 0x00 0x31 0x00 0x32 0x00 0x33 0x00 0x34
- or download this
my $data = encode("UTF-16LE", '1234');
- or download this
0x31 0x00 0x32 0x00 0x33 0x00 0x34 0x00