BinaryLengthValue.fromBigInt constructor

BinaryLengthValue.fromBigInt(
  1. BigInt value
)

Create a length-value for a multiple precision integer.

See section 5 of RFC 4251 for a definition of this format.

Implementation

BinaryLengthValue.fromBigInt(BigInt value) : _dataBytes = _encodeMPInt(value);