(length: number)
| 26 | return float; |
| 27 | } |
| 28 | readStringNo(length: number) { |
| 29 | const array = new Uint8Array(length); |
| 30 | for (let i = 0; i < length; i++) { |
| 31 | array[i] = this.read8(); |
| 32 | } |
| 33 | //console.log(array); |
| 34 | return new TextDecoder("utf8").decode(array.buffer as ArrayBuffer); |
| 35 | } |
| 36 | readAsciiString8() { |
| 37 | return this.readAsciiStringNo(this.read8()); |
| 38 | } |
no test coverage detected