Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Binary

Hierarchy

Index

Methods

apply

  • Parameters

    Returns Binary

    a new instance derived from applying the delta to this value

asArray

  • asArray(): Uint8Array
  • Returns Uint8Array

    This value in binary form

asBuffer

  • asBuffer(): Buffer
  • Returns Buffer

    This value in binary form

copyTo

  • copyTo(target: Uint8Array, offset?: undefined | number): void
  • Parameters

    • target: Uint8Array
    • Optional offset: undefined | number

    Returns void

diff

  • Parameters

    • original: Binary | Uint8Array
    • Optional type: undefined | string

    Returns BinaryDelta

    a delta representing the difference between this and the provided value

get

  • get(): Buffer
  • Returns Buffer

    the buffer value

getArray

  • getArray(): Uint8Array
  • Returns Uint8Array

    the array value

length

  • length(): number
  • Returns number

    The length of the data in bytes