| 12345678910111213141516171819 |
- import { Stream } from "../../common";
- /**
- * @constructor
- * @implements {Encoder}
- * @param {{fatal: boolean}} options
- */
- export declare class EUCJPEncoder {
- readonly fatal: boolean;
- constructor(options: {
- fatal: boolean;
- });
- /**
- * @param {Stream} stream Input stream.
- * @param {number} code_point Next code point read from the stream.
- * @return {(number|!Array.<number>)} Byte(s) to emit.
- */
- handler(stream: Stream, code_point: number): (number | Array<number>);
- }
|