MCPcopy Index your code
hub / github.com/microsoft/playwright / _readByte

Method _readByte

packages/utils/socksProxy.ts:198–201  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

196 }
197
198 private async _readByte(): Promise<number> {
199 const buffer = await this._readBytes(1);
200 return buffer[0];
201 }
202
203 private async _readBytes(length: number): Promise<Buffer> {
204 this._fence = this._offset + length;

Callers 2

_authenticateMethod · 0.95
_parseRequestMethod · 0.95

Calls 1

_readBytesMethod · 0.95

Tested by

no test coverage detected