Lines Matching refs:bytes
169 // - Has no leading or trailing HTTP tab or space bytes.
170 // - Contains no 0x00 (NUL) or HTTP newline bytes.
529 * @param {Uint8Array} bytes
532 function bytesMatch (bytes, metadataList) {
573 // 3. Let actualValue be the result of applying algorithm to bytes.
574 let actualValue = crypto.createHash(algorithm).update(bytes).digest('base64')
936 // 2. Let successSteps given a byte sequence bytes be to queue a
937 // fetch task to run processBody given bytes, with taskDestination.
956 // 5. Read all bytes from reader, given successSteps and errorSteps.
988 // as the values of input’s bytes, in the same order.
1022 // point length and whose bytes have the same values as the
1028 * @see https://streams.spec.whatwg.org/#readablestreamdefaultreader-read-all-bytes
1033 const bytes = []
1040 // 1. Call successSteps with bytes.
1041 return Buffer.concat(bytes, byteLength)
1050 // 2. Append the bytes represented by chunk to bytes.
1051 bytes.push(chunk)
1054 // 3. Read-loop given reader, bytes, successSteps, and failureSteps.