Constructors
constructor
- new Proto(encoded, decoded?): Proto
Parameters
- encoded: Buffer
Optional
decoded: Proto
Accessors
length
- get length(): number
Returns number
Methods
[toPrimitive]
- [toPrimitive](): string
Returns string
toBase64
- toBase64(): string
Returns string
toBuffer
- toBuffer(): Buffer
Returns Buffer
toHex
- toHex(): string
Returns string
toString
- toString(): string
Returns string
Returns a string representation of an object.