UNPKG
@openim/protocol
Version:
latest (0.0.8)
next (0.0.9-next.0)
0.0.9-next.0
0.0.8
0.0.7
0.0.7-alpha.1
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
OpenIM protocol
github.com/openimsdk
@openim/protocol
/
lib
/
codec.d.ts
7 lines
(6 loc)
•
152 B
TypeScript
View Raw
1
2
3
4
5
6
7
interface
MyTextDecoder
{
decode
(
buffer
: ArrayBuffer | ArrayBufferView):
string
; }
interface
MyTextEncoder
{
encode
(
str
:
string
): Uint8Array; }