Options
All
  • Public
  • Public/Protected
  • All
Menu

Class to handle the protocol Address type http://dev.nuls.io/protocol/index.html#Address

Hierarchy

  • AddressSerializer

Index

Methods

Methods

Static read

Static write

  • write(data: Address, buf: Buffer, offset: number): number
  • Writes Address to buf at the specified offset

    Parameters

    • data: Address

      The address to be written to buf

    • buf: Buffer

      Buffer object where the bytes will be written

    • offset: number

      Number of bytes to skip before starting to write.

    Returns number

    Offset plus the number of bytes that has been written