Import

      Constructors

      Properties

      PropertyModifiersTypeDescription
      bufferT[]
      number

      Methods

      Constructs a new instance of the ArrayVector class

      Signature

      1. constructor(buffer?: T[]);

      Parameters

      ParameterTypeDescription
      bufferT[]

      buffer property

      Signature

      length property

      Signature

      1. add(value: T): void;

      Parameters

      Returns:

      void

      get method

      Signature

      Parameters

      ParameterTypeDescription
      indexnumber

      Returns:

      T

      reverse method

      Signature

      1. reverse(): void;

      Returns:

      Signature

        Parameters

        Returns:

        void

        toArray method

        Signature

        Returns:

        T[]

        toJSON method

        Signature

        1. toJSON(): T[];

        Returns: