mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-22 03:07:04 +02:00
feat: bkon read
This commit is contained in:
1 parent
559fb30da9
commit
43b6453fcb
5 files changed
+318
-3
No files matched your search
@@ -60,9 +60,12 @@ export class BufferStream {
|
||||
uint64() {
|
||||
return this.buffer.readBigUInt64LE(this.increment(8));
|
||||
}
|
||||
float() {
|
||||
float32() {
|
||||
return this.buffer.readFloatLE(this.increment(4));
|
||||
}
|
||||
float64() {
|
||||
return this.buffer.readDoubleLE(this.increment(8));
|
||||
}
|
||||
|
||||
boolean() {
|
||||
return this.buffer.readUInt8(this.increment(1)) === 1;
|
||||
|
||||
Reference in new issue
Block a user