* Constructs a new instance.
()
| 126 | * Constructs a new instance. |
| 127 | */ |
| 128 | constructor() { |
| 129 | const { readable, writable } = new TransformStream< |
| 130 | Uint8Array, |
| 131 | Uint8Array |
| 132 | >(); |
| 133 | this.#source = toByteStream(readable).getReader({ mode: "byob" }); |
| 134 | this.#readable = ReadableStream.from<CborStreamOutput>( |
| 135 | this.#decodeSequence(), |
| 136 | ); |
| 137 | this.#writable = writable; |
| 138 | } |
| 139 | |
| 140 | async #read(bytes: number, expectMore: true): Promise<Uint8Array>; |
| 141 | async #read( |
nothing calls this directly
no test coverage detected