跳至主要內容

Class: codec_base

muzzik小于 1 分钟

index / codec_base

Class: codec_base

编解码器基类

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

new codec_base(option_?)

Parameters

NameType
option_?config

Defined in

assets/@framework/mk_codec_base.ts:6open in new window

Properties

_config

Protected _config: config

配置信息

Defined in

assets/@framework/mk_codec_base.ts:14open in new window

Accessors

_log

Protected get _log(): logger

日志

Returns

logger

Defined in

assets/@framework/mk_codec_base.ts:17open in new window

Methods

encode

encode(...args_as_): any

编码

Parameters

NameType
...args_as_any[]

Returns

any

Defined in

assets/@framework/mk_codec_base.ts:26open in new window


decode

decode(...args_as_): any

解码

Parameters

NameType
...args_as_any[]

Returns

any

Defined in

assets/@framework/mk_codec_base.ts:31open in new window

📣 觉得很赞?分享给你的朋友吧!