UNPKG
biner
Version:
latest (0.8.10)
0.8.10
0.8.9
0.8.8
0.8.7
0.8.6
0.8.5
0.8.4
0.8.3
0.8.2
0.8.1
0.8.0
0.7.3
0.7.2
0.7.1
0.7.0
0.6.0
Declarative binary data encoder / decoder.
github.com/taoyuan/biner
taoyuan/biner
biner
/
lib
/
types
/
buffer.d.ts
5 lines
(4 loc)
•
222 B
TypeScript
View Raw
1
2
3
4
5
/// <reference types="node" />
import
{
BinaryStream
}
from
'../bs'
;
import
{
Codec
,
DataType
}
from
"../common"
;
export
declare
function
buffer
(
length
?:
number
|
Function
|
DataType
|
null
):
Codec
<
Buffer
|
BinaryStream
>;