Constructors
constructor
-
Parameters
Properties
buffer
buffer: Buffer
Methods
toJSON
-
Returns string
toString
- toString(encoding?: string): string
-
Parameters
-
Default value encoding: string = "hex"
Returns string
Static from
-
Parameters
-
value: Buffer | HexBuffer | number[] | string
Buffer wrapper that serializes to a hex-encoded string.