palm-pdb
    Preparing search index...

    Class RecordId

    Unique ID of records in PDB databases.

    Each unique ID is encoded as a 24-bit big endian unsigned integer. Valid records should have a non-zero unique ID.

    Hierarchy

    • SerializableWrapper<number>
      • RecordId
    Index

    Constructors

    • Returns RecordId

    Properties

    value: number = 0

    Methods

    • Type Parameters

      • JsonValueT extends number

      Parameters

      Returns void

    • Deserializes a buffer into this value.

      Parameters

      • buffer: Buffer
      • Optional_opts: DeserializeOptions

      Returns number

      Number of bytes read.

    • Computes the serialized length of this value.

      Parameters

      • Optional_opts: SerializeOptions

      Returns number

    • Serializes this value into a buffer.

      Parameters

      • Optional_opts: SerializeOptions

      Returns Buffer<ArrayBuffer>

    • Returns any

    • Creates a new instance of this value by deserializing from a buffer.

      Type Parameters

      • T extends Serializable

      Parameters

      • this: new () => T
      • buffer: Buffer
      • Optionalopts: DeserializeOptions

      Returns T

    • Create a new instance of this wrapper class from a raw value.

      Type Parameters

      • ValueT
      • WrapperT extends SerializableWrapper<ValueT>

      Parameters

      Returns WrapperT