Buffer wrapper that serializes to a hex-encoded string.

### Hierarchy

- HexBuffer

## Index

### Constructors

- constructor

### Properties

- buffer

### Methods

- toJSON
- toString
- from

## Constructors

### constructor

- new HexBuffer(buffer: Buffer): HexBuffer

- - Defined in steem/misc.ts:61

  #### Parameters

  - ##### buffer: Buffer

  #### Returns HexBuffer

## Properties

### buffer

buffer: Buffer

- Defined in steem/misc.ts:63

## Methods

### toJSON

- toJSON(): string

- - Defined in steem/misc.ts:69

  #### Returns string

### toString

- toString(encoding?: string): string

- - Defined in steem/misc.ts:65

  #### Parameters

  - ##### Default value encoding: string = "hex"

  #### Returns string

### Static from

- from(value: Buffer | HexBuffer | number[] | string): HexBuffer

- - Defined in steem/misc.ts:51

  Convenience to create a new HexBuffer, does not copy data if value passed is already a buffer.

  #### Parameters

  - ##### value: Buffer | HexBuffer | number[] | string

  #### Returns HexBuffer

Generated using TypeDoc