Show / Hide Table of Contents

Class LengthFormatExtensions

Provides extensions for LengthFormat type.

Inheritance
object
LengthFormatExtensions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: DotNext.IO
Assembly: DotNext.IO.dll
Syntax
public static class LengthFormatExtensions

Methods

View Source

get_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.

  • View Source
☀
☾
In this article
Back to top
Supported by the .NET Foundation
☀
☾