palm-pdb
    Preparing search index...

    Class TypeId

    Serializable wrapper for a 32-bit type ID mapped to a 4-character string.

    Hierarchy

    • {
          length: number;
          value: string;
          assignJSON<JsonValueT extends string>(jsonValue: JsonValueT): void;
          deserialize(buffer: Buffer, opts?: DeserializeOptions): number;
          getSerializedLength(opts?: SerializeOptions): number;
          serialize(opts?: SerializeOptions): Buffer;
          toJSON(): any;
      }
      • TypeId
    Index

    Constructors

    • Returns TypeId

    Properties

    length: number
    value: string = 'AAAA'

    Methods

    • Type Parameters

      • JsonValueT extends string

      Parameters

      • jsonValue: JsonValueT

      Returns void

    • Parameters

      • buffer: Buffer
      • Optionalopts: DeserializeOptions

      Returns number

    • Parameters

      • Optionalopts: SerializeOptions

      Returns number

    • Parameters

      • Optionalopts: SerializeOptions

      Returns Buffer

    • Returns any

    • Type Parameters

      • T extends Serializable

      Parameters

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

      Returns T

    • Type Parameters

      • ValueT
      • WrapperT extends SerializableWrapper<ValueT>

      Parameters

      Returns WrapperT

    • Parameters

      • length: number

      Returns any