fixedLongToBytes method
void
fixedLongToBytes(
- Int64 n,
- Int8List buf,
- int off
)
Implementation
void fixedLongToBytes(Int64 n, Int8List buf, int off) {
buf[off + 0] = ((n.toInt() >> 56) & 0xff).toSigned(8);
buf[off + 1] = ((n.toInt() >> 48) & 0xff).toSigned(8);
buf[off + 2] = ((n.toInt() >> 40) & 0xff).toSigned(8);
buf[off + 3] = ((n.toInt() >> 32) & 0xff).toSigned(8);
buf[off + 4] = ((n.toInt() >> 24) & 0xff).toSigned(8);
buf[off + 5] = ((n.toInt() >> 16) & 0xff).toSigned(8);
buf[off + 6] = ((n.toInt() >> 8) & 0xff).toSigned(8);
buf[off + 7] = ((n.toInt() >> 0) & 0xff).toSigned(8);
}