Discuss this help topic in SecureBlackbox Forum

StrToUTF8

Declared in     See also     


Filter: C#/Java  VB.NET  Pascal  C++  


Use this function to convert string to UTF8 representation.

Declaration

[C#/Java]
    byte[] StrToUTF8(string AStr);

[VB.NET]
    Function StrToUTF8(ByVal AStr As String) As Byte()

[Pascal]
    function StrToUTF8(const AStr : string) : ByteArray;

[C++]
    void StrToUTF8(const std::string & AStr, std::vector<uint8_t> & OutResult);

Parameters

  • AStr - string to be converted to unicode

Description

Declared in

.NET:
  • Namespace: SBStrUtils
  • Assembly: SecureBlackbox
VCL:
  • Unit: SBStrUtils
Java:
  • Package: SecureBlackbox.Base.jar
C++:
  • sbstrutils.h

See also:     UTF8ToStr     SetDefaultCharset    

Discuss this help topic in SecureBlackbox Forum