Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RecordV2

Hierarchy

Index

Methods

asArray

  • asArray(): Uint8Array
  • Returns Uint8Array

    This value in binary form

asBuffer

  • asBuffer(): Buffer
  • Returns Buffer

    This value in binary form

asFields

  • asFields(): string[]
  • Returns string[]

    a new mutable list of all the fields

asModel

  • Parameters

    Returns RecordModel

    an immutable model derived from the data content

asRecords

  • asRecords(): string[][]
  • Returns string[][]

    a new mutable list where each entry represents a record within the data

asValidatedModel

  • Parameters

    Returns RecordModel

    an immutable model derived from the data content

copyTo

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

    • target: Uint8Array
    • Optional offset: undefined | number

    Returns void

diff

  • Parameters

    Returns RecordV2Delta

    a structural delta representing the difference between the original and this value

length

  • length(): number
  • Returns number

    The length of the data in bytes