fix(frontend-player): PrimitiveReader fix

This commit is contained in:
ShiKhu 2021-11-16 20:52:34 +01:00
parent 64843b87f9
commit 8f6aee5db8

View file

@ -3,7 +3,7 @@ export default class PrimitiveReader {
constructor(protected readonly buf: Uint8Array) {}
hasNext() {
return this.buf.length < this.p
return this.p < this.buf.length
}
readUint() {