forwardStringHelper Methods   Table of ContentOnixS.SimpleBinaryEncoding.CodeGeneratorforward
StringHelper.GetRealLength Method
Gets length of null-terminated string.

Namespace:  OnixS.SimpleBinaryEncoding
Assembly:  OnixS.SimpleBinaryEncoding-net-4.7 (in OnixS.SimpleBinaryEncoding-net-4.7.dll) Version: 2.3.1.0 (2.3.1.0)
Syntax
C#
public static int GetRealLength(
	byte* buffer,
	int offset,
	int length
)

Parameters

buffer
Type: System.Byte*
Pointer to buffer.
offset
Type: System.Int32
String field offset.
length
Type: System.Int32
String field length.

Return Value

Type: Int32
Length of null-terminated string.
See Also