This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@confluxproject/bytes
TypeScript icon, indicating that this package has built-in type declarations

5.0.38 • Public • Published

Byte Manipulation

This sub-module is part of the conflux project.

It is responsible for manipulating binary data.

For more information, see the documentation.

Importing

Most users will prefer to use the umbrella package, but for those with more specific needs, individual components can be imported.

const {

    isBytesLike,
    isBytes,

    arrayify,

    concat,

    stripZeros,
    zeroPad,

    isHexString,
    hexlify,

    hexDataLength,
    hexDataSlice,
    hexConcat,

    hexValue,

    hexStripZeros,
    hexZeroPad,

    splitSignature,
    joinSignature,

    // Types

    Bytes,
    BytesLike,

    DataOptions,

    Hexable,

    SignatureLike,
    Signature

} = require("@confluxproject/bytes");

License

MIT License

Readme

Keywords

Package Sidebar

Install

npm i @confluxproject/bytes

Weekly Downloads

4

Version

5.0.38

License

MIT

Unpacked Size

70.5 kB

Total Files

17

Last publish

Collaborators

  • npm