chore: fix typos

This commit is contained in:
Simon Chan 2022-02-20 00:33:40 +08:00
parent 5aab894875
commit 8c18523c8d
4 changed files with 9 additions and 29 deletions

View file

@ -60,7 +60,7 @@ export class AdbDirectSocketsBackendStreams implements ReadableWritablePair<Arra
this.socket = socket;
// Although Direct Sockets spec didn't say,
// WebTransport spec and File spec all have the `Uint8Array` wraps the while `ArrayBuffer`.
// WebTransport spec and File spec all have the `Uint8Array` wraps the whole `ArrayBuffer`.
this._readableTransformStream = new ExtractViewBufferStream();
this.socket.readable.pipeTo(this._readableTransformStream.writable);
}