Click or drag to resize

StringConversionConvertToMaxLengthEncoded Method

Overload List
  NameDescription
Public methodStatic memberConvertToMaxLengthEncoded(String, Int32)
Convert a string to an array of bytes, where the first byte contains the maximum length of the string, and the next bytes contains the actual string length.
Public methodStatic memberConvertToMaxLengthEncoded(String, Int32, Int32, Boolean)
Convert a string to an array of bytes, where the first 'lengthSize' bytes contain the maximum length of the string, and the next 'lengthSize' bytes contain the actual string length.
Public methodStatic memberConvertToMaxLengthEncoded(String, Int32, Int32, Boolean, Byte, Int32, Int32)
Convert a string to an array of bytes, where the first 'lengthSize' bytes contain the maximum length of the string, and the next 'lengthSize' bytes contain the actual string length.
Top
See Also