| Utf8StringGetLength Method |
Gets the length of a Utf8String stored in a byte array.
Namespace:
Ookii.Jumbo.IO
Assembly:
Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 2.0.0
Syntax public 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
- Type: SystemByte
The buffer containing the string. - index
- Type: SystemInt32
The index at which the string starts.
Return Value
Type:
Int32The length of the entire Utf8String object, including the length header.
See Also