Lines Matching refs:bytes

531             length: stream.bytes.byteLength
600 return stream.bytes;
1897 function bytesToString(bytes) {
1898 …assert(bytes !== null && _typeof(bytes) === 'object' && bytes.length !== undefined, 'Invalid argum…
1899 var length = bytes.length;
1903 return String.fromCharCode.apply(null, bytes);
1910 var chunk = bytes.subarray(i, chunkEnd);
1920 var bytes = new Uint8Array(length);
1923 bytes[i] = str.charCodeAt(i) & 0xFF;
1926 return bytes;
11660 this.bytes = new Uint8Array(length);
11707 if (end % chunkSize !== 0 && end !== this.bytes.length) {
11711 this.bytes.set(new Uint8Array(chunk), begin);
11727 this.bytes.set(new Uint8Array(data), position);
11809 return this.bytes[this.pos++];
11836 var bytes = this.bytes;
11843 var _subarray = bytes.subarray(pos, strEnd);
11856 var subarray = bytes.subarray(pos, end);
11870 var bytes = this.getBytes(length, forceClamped);
11871 this.pos -= bytes.length;
11872 return bytes;
11878 return this.bytes.subarray(begin, end);
13306 …hash = (0, _crypto.calculateMD5)(this.stream.bytes.subarray(0, FINGERPRINT_FIRST_BYTES), 0, FINGER…
15798 function computeAdler32(bytes) {
15799 var bytesLength = bytes.length;
15804 a += bytes[i] & 0xFF;
17128 this.bytes = arrayBuffer instanceof Uint8Array ? arrayBuffer : new Uint8Array(arrayBuffer);
17131 this.end = start + length || this.bytes.length;
17149 return this.bytes[this.pos++];
17170 var bytes = this.bytes;
17175 var _subarray = bytes.subarray(pos, strEnd);
17187 var subarray = bytes.subarray(pos, end);
17197 var bytes = this.getBytes(length, forceClamped);
17198 this.pos -= bytes.length;
17199 return bytes;
17215 return new Stream(this.bytes.buffer, start, length, dict);
17225 var bytes = (0, _util.stringToBytes)(str);
17226 Stream.call(this, bytes);
17346 var bytes = this.getBytes(length, forceClamped);
17347 this.pos -= bytes.length;
17348 return bytes;
18136 var bytes = this.str.getBytes(UPSTREAM_BLOCK_SIZE);
18138 if (!bytes.length) {
18143 var maxDecodeLength = bytes.length + 1 >> 1;
18148 for (var i = 0, ii = bytes.length; i < ii; i++) {
18149 var ch = bytes[i],
19210 data: this.bytes,
19212 end: this.bytes.length
20245 var bytes = referredToCount + 7 >> 3;
20248 while (--bytes > 0) {
21890 jpegImage.parse(this.bytes);
21904 return (0, _util.createObjectURL)(this.bytes, 'image/jpeg', forceDataSchema);
23146 jpxImage.parse(this.bytes);
25750 copyTo: function Word64_copyTo(bytes, offset) {
25751 bytes[offset] = this.high >>> 24 & 0xFF;
25752 bytes[offset + 1] = this.high >> 16 & 0xFF;
25753 bytes[offset + 2] = this.high >> 8 & 0xFF;
25754 bytes[offset + 3] = this.high & 0xFF;
25755 bytes[offset + 4] = this.low >>> 24 & 0xFF;
25756 bytes[offset + 5] = this.low >> 16 & 0xFF;
25757 bytes[offset + 6] = this.low >> 8 & 0xFF;
25758 bytes[offset + 7] = this.low & 0xFF;
27707 var bytes = lookup.getBytes(length);
27709 _this3.lookup.set(bytes);
32800 …ray(stream.buffer.buffer, 0, stream.bufferLength) : new Uint8Array(stream.bytes.buffer, stream.sta…
35211 function writeSignedInt16(bytes, index, value) {
35212 bytes[index + 1] = value;
35213 bytes[index] = value >>> 8;
38103 this.bytes = file.getBytes();
38179 var bytes = this.bytes;
38180 var bytesLength = bytes.length;
38183 while (offset < bytesLength && bytes[offset] !== 1) {
38193 bytes = bytes.subarray(offset);
38194 this.bytes = bytes;
38197 var major = bytes[0];
38198 var minor = bytes[1];
38199 var hdrSize = bytes[2];
38200 var offSize = bytes[3];
38289 var bytes = this.bytes;
38290 var count = bytes[pos++] << 8 | bytes[pos++];
38296 var offsetSize = bytes[pos++];
38304 offset += bytes[pos++];
38316 cffIndex.add(bytes.subarray(offsetStart, offsetEnd));
38612 if (size === 0 || offset >= this.bytes.length) {
38618 var dictData = this.bytes.subarray(offset, privateDictEnd);
38630 if (subrsOffset === 0 || relativeOffset >= this.bytes.length) {
38647 var bytes = this.bytes;
38649 var format = bytes[pos++];
38657 id = bytes[pos++] << 8 | bytes[pos++];
38665 id = bytes[pos++] << 8 | bytes[pos++];
38666 count = bytes[pos++];
38677 id = bytes[pos++] << 8 | bytes[pos++];
38678 count = bytes[pos++] << 8 | bytes[pos++];
38692 var raw = bytes.subarray(start, end);
38697 var bytes = this.bytes;
38703 var supplementsCount = bytes[pos++];
38706 var code = bytes[pos++];
38707 var sid = (bytes[pos++] << 8) + (bytes[pos++] & 0xff);
38726 format = bytes[pos++];
38730 var glyphsCount = bytes[pos++];
38733 encoding[bytes[pos++]] = i;
38739 var rangesCount = bytes[pos++];
38743 var start = bytes[pos++];
38744 var left = bytes[pos++];
38760 bytes[dataStart] &= 0x7f;
38764 raw = bytes.subarray(dataStart, dataEnd);
38771 var bytes = this.bytes;
38772 var format = bytes[pos++];
38779 var id = bytes[pos++];
38786 var rangesCount = bytes[pos++] << 8 | bytes[pos++];
38789 var first = bytes[pos++] << 8 | bytes[pos++];
38796 var fdIndex = bytes[pos++];
38797 var next = bytes[pos] << 8 | bytes[pos + 1];
48480 readCharStrings: function Type1Parser_readCharStrings(bytes, lenIV) {
48482 return bytes;
48485 return decrypt(bytes, CHAR_STRS_ENCRYPT_KEY, lenIV);