node-buffertrim
v1.0.0
Published
Trim nulls (0x00) from buffers
Downloads
22
Maintainers
Readme
Buffertrim
Trim null bytes (0x00
) from buffers.
Installation
Install via npm:
npm install buffertrim
trim(buffer)
Trim leading and trailing 0x00
from buffer.
trimStart(buffer)
Trim leading 0x00
from buffer.
trimEnd(buffer)
Trim trailing 0x00
from buffer.
Licence
MIT