mirror of
https://github.com/yume-chan/ya-webadb.git
synced 2025-10-05 10:49:24 +02:00
chore: fix typos
This commit is contained in:
parent
5aab894875
commit
8c18523c8d
4 changed files with 9 additions and 29 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue