fromBytes64 static method

int fromBytes64(
  1. List<int> bytes, {
  2. Endian byteOrder = Endian.big,
  3. bool sign = false,
})

Implementation

static int fromBytes64(
  List<int> bytes, {
  Endian byteOrder = Endian.big,
  bool sign = false,
}) {
  _checkLength(bytes, 8, 'fromBytes64');
  // Routed through the BigInt + isValidInt path inside fromBytes
  // automatically, since 8 > _safeByteLength (6). Throws if the
  // decoded value can't be represented as a Dart int.
  return fromBytes(bytes, byteOrder: byteOrder, sign: sign);
}