Method GetUsedByteCount
GetUsedByteCount(uint)
Get the minimum number of bytes required to represent the given value
Declaration
public static int GetUsedByteCount(uint value)
Parameters
Type | Name | Description |
---|---|---|
uint | value | The value |
Returns
Type | Description |
---|---|
int | The number of bytes required |
GetUsedByteCount(ulong)
Get the minimum number of bytes required to represent the given value
Declaration
public static int GetUsedByteCount(ulong value)
Parameters
Type | Name | Description |
---|---|---|
ulong | value | The value |
Returns
Type | Description |
---|---|
int | The number of bytes required |