 | Utf8StringGetLength Method |
Gets the length of a Utf8String stored in a byte array.
Namespace: Ookii.Jumbo.IOAssembly: Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntaxpublic static int GetLength(
byte[] buffer,
int index
)
Public Shared Function GetLength (
buffer As Byte(),
index As Integer
) As Integer
public:
static int GetLength(
array<unsigned char>^ buffer,
int index
)
static member GetLength :
buffer : byte[] *
index : int -> int
Parameters
- buffer Byte
- The buffer containing the string.
- index Int32
- The index at which the string starts.
Return Value
Int32The length of the entire Utf8String object, including the length header.
See Also