Skip to content

How do you create a bint instance?

Since bint is not actually a class, you will have to call bint after you import it from @briklab/net-t. it will automatically create a bint instance for you.

TIP

You do not need to call bint to access bint.fromBuffer.

You can now use this instance to store data easily and in a much smaller way.

Example

js
let myInstance = bint()