Push latest work
This commit is contained in:
parent
f8918b9fcf
commit
852ddf8972
2 changed files with 30 additions and 2 deletions
|
@ -244,6 +244,12 @@ class ByteLayer {
|
|||
_position += 8;
|
||||
}
|
||||
|
||||
void writeUnsignedLong(int value) {
|
||||
_ensureCapacity(8);
|
||||
_byteBuffer.buffer.asByteData().setUint64(_position, value, Endian.big);
|
||||
_position += 8;
|
||||
}
|
||||
|
||||
int readLong() {
|
||||
final value =
|
||||
_byteBuffer.buffer.asByteData().getInt64(_position, Endian.big);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue