标签:
RawToBytes
BytesToRaw
String> TBytes/TByteDynArray
Text.BytesOf()
BytesOf
WideBytesOf()
bytes=System::Sysutils::BytesOf(Caption);
bytes=System::Sysutils::WideBytesOf(Caption);
TBytes/TByteDynArray > String
Caption = System::Sysutils::StringOf(barr);
Caption = System::Sysutils::WideStringOf(barr);
String > <Utf8Bytes
TBytes bytes;
bytes = TEncoding::UTF8->GetBytes(Memo1->Text);
Memo1->Text = TEncoding::UTF8->GetString(bytes);
TBytes/TByteDynArray > Byte *
TBytes bytes;
Byte * bb = &bytes[0];
标签:
原文地址:http://www.cnblogs.com/cb168/p/4302982.html