UNPKG
@ipfn/cell-codecs
Version:
latest (0.4.1)
0.4.1
0.4.0
IPFN cell codecs
github.com/ipfn/js-ipfn-cells
ipfn/js-ipfn-cells
@ipfn/cell-codecs
/
dist
/
src
/
prefix.d.ts
5 lines
(4 loc)
•
206 B
TypeScript
View Raw
1
2
3
4
5
/// <reference types="node" />
import
{
Bytes
,
Codec
}
from
'./codec'
;
export
declare
function
prepend
(
body
:
Buffer
,
name
:
string
):
Buffer
;
export
declare
function
splitPrefix
(
body
:
Bytes
): [
Codec
,
Bytes
];