import { DecoderBase } from './base/decoder.js'; /** 解码 UBJSON */ export class Decoder extends DecoderBase { /** 读取完毕 */ get ended(): boolean { return this.offset >= this.data.byteLength; } }