Class LengthFormatExtensions
Provides extensions for LengthFormat type.
Inherited Members
Namespace: DotNext.IO
Assembly: DotNext.IO.dll
Syntax
public static class LengthFormatExtensions
Methods
View Sourceget_MaxByteCount(LengthFormat)
Gets the maximum amount of bytes needed to represent the length of the specified type.
Declaration
public static int get_MaxByteCount(LengthFormat format)
Parameters
| Type | Name | Description |
|---|---|---|
| LengthFormat | format |
Returns
| Type | Description |
|---|---|
| int |
Exceptions
| Type | Condition |
|---|---|
| ArgumentOutOfRangeException | The format is invalid. |