1234567891011121314151617181920212223242526272829 |
- "use strict";
- //
- // Implementation of Encoding specification
- // https://encoding.spec.whatwg.org/
- //
- Object.defineProperty(exports, "__esModule", { value: true });
- //
- // 4. Terminology
- //
- /**
- * An ASCII byte is a byte in the range 0x00 to 0x7F, inclusive.
- * @param {number} a The number to test.
- * @return {boolean} True if a is in the range 0x00 to 0x7F, inclusive.
- */
- function isASCIIByte(a) {
- return 0x00 <= a && a <= 0x7F;
- }
- exports.isASCIIByte = isASCIIByte;
- /**
- * An ASCII code point is a code point in the range U+0000 to
- * U+007F, inclusive.
- */
- exports.isASCIICodePoint = isASCIIByte;
- /**
- * End-of-stream is a special token that signifies no more tokens
- * are in the stream.
- * @const
- */ exports.end_of_stream = -1;
- //# sourceMappingURL=terminology.js.map
|