fix(frontend-player): PrimitiveReader fix
This commit is contained in:
parent
64843b87f9
commit
8f6aee5db8
1 changed files with 1 additions and 1 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue