Package Exports
- pbf
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (pbf) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
pbf
A protocol buffers implementation in JavaScript.
install
npm install pbf
api
Protobuf(buf, pos)
Reading
- readUInt32
- readUInt32LE
- readUInt64
- readUInt64LE
- readDouble
- readDoubleLE
- readVarint
- readSVarint
- readString
- readPacked
Writing
- writeTag
- writeUInt32
- writeUInt32LE
- writeUInt64
- writeUInt64LE
- writePacked
- writePackedVarints
- writeDoubleLE
- writeDouble
- writeTaggedBuffer
- writeTaggedString
- writeTaggedBoolean
- writeTaggedUInt64
- writeTaggedUInt32
- writeTaggedVarint
- writeRepeated