(aBuffer: ArrayBuffer)
| 31 | } |
| 32 | |
| 33 | public writeArrayBuffer(aBuffer: ArrayBuffer): void { |
| 34 | this.ensureWriteableSpace(aBuffer.byteLength); |
| 35 | |
| 36 | const inInt8AView: Int8Array = new Int8Array(aBuffer); |
| 37 | const localInt8View: Int8Array = new Int8Array(this.arraybytes, this.length, aBuffer.byteLength); |
| 38 | localInt8View.set(inInt8AView); |
| 39 | this.length += aBuffer.byteLength; |
| 40 | this.position = this.length; |
| 41 | |
| 42 | } |
| 43 | |
| 44 | public writeByteArray(ba: ByteArray): void { |
| 45 | this.ensureWriteableSpace(ba.length); |
nothing calls this directly
no test coverage detected