Click or drag to resize

StringConversionConvertToLengthEncoded Method

Overload List
  NameDescription
Public methodStatic memberConvertToLengthEncoded(String)
Convert a string to an array of bytes where the first byte contains the string length. Only works with 1 byte character encoded strings (eg ASCII).
Public methodStatic memberConvertToLengthEncoded(String, Int32)
Convert a string to an array of bytes where the first byte contains the string length. Only works with 1 byte character encoded strings (eg ASCII).
Public methodStatic memberConvertToLengthEncoded(String, Int32, Boolean)
Convert a string to an array of bytes where the first 'lengthSize' bytes contain the string length. Only works with 1 byte character encoded strings (eg ASCII).
Public methodStatic memberConvertToLengthEncoded(String, Int32, Int32, Boolean)
Convert a string to an array of bytes where the first 'lengthSize' bytes contain the string length. Only works with 1 byte character encoded strings (eg ASCII).
Public methodStatic memberConvertToLengthEncoded(String, Int32, Boolean, Byte, Int32, Int32)
Convert a string to an array of bytes where the first 'lengthSize' bytes contain the string length.
Public methodStatic memberConvertToLengthEncoded(String, Int32, Boolean, Byte, Int32, Int32, StringConversionGetBytes)
Convert a string to an array of bytes where the first 'lengthSize' bytes contain the string length.
Top
See Also