Method ReadFixedString
ReadFixedString(byte*, int)
Read and copy a fixed string (of unknown length) into the given buffer.
Declaration
public ushort ReadFixedString(byte* data, int maxLength)
Parameters
| Type | Name | Description |
|---|---|---|
| byte* | data | Pointer to the buffer to write the string bytes to. |
| int | maxLength | Length of the buffer to write the string bytes to. |
Returns
| Type | Description |
|---|---|
| ushort | Length of data read into byte array, or zero if error occurred. |