Lines Matching refs:bytes
55 // 7. Let bytes be an empty byte sequence.
57 const bytes = []
96 // 2. Append bs to bytes.
97 bytes.push(value)
127 // bytes, type, blob’s type, and encodingName.
129 const result = packageData(bytes, type, blob.type, encodingName)
211 * @param {Uint8Array[]} bytes
216 function packageData (bytes, type, mimeType, encodingName) {
218 // bytes, a type, a optional mimeType, and a optional
224 // 1. Return bytes as a DataURL [RFC2397] subject to
249 for (const chunk of bytes) {
285 // 5. Decode bytes using fallback encoding encoding, and
287 return decode(bytes, encoding)
290 // Return a new ArrayBuffer whose contents are bytes.
291 const sequence = combineByteSequences(bytes)
296 // Return bytes as a binary string, in which every byte
302 for (const chunk of bytes) {
319 const bytes = combineByteSequences(ioQueue)
322 const BOMEncoding = BOMSniffing(bytes)
331 // 2. Read three bytes from ioQueue, if BOMEncoding is
332 // UTF-8; otherwise read two bytes.
333 // (Do nothing with those bytes.)
342 const sliced = bytes.slice(slice)
351 // 1. Let BOM be the result of peeking 3 bytes from ioQueue,
357 // bytes given in the first column, then return the