interface ByteStringArrayType {
    add: (item: string) => Promise<void>;
    destroy: () => Promise<void>;
    getAt: (index: number) => Promise<string>;
    getSize: () => Promise<number>;
    options?: Options;
    removeAll: () => Promise<void>;
    removeAt: (index: number) => Promise<void>;
}

Implemented by

Properties

add: (item: string) => Promise<void>

Add an string value to the array.

Type declaration

    • (item: string): Promise<void>
    • Parameters

      • item: string

        The string value to add.

      Returns Promise<void>

destroy: () => Promise<void>

Destroy the current object.

Type declaration

    • (): Promise<void>
    • Returns Promise<void>

getAt: (index: number) => Promise<string>

Get the string value at the specified index.

Type declaration

    • (index: number): Promise<string>
    • Parameters

      • index: number

        The index of the element to get.

      Returns Promise<string>

      Return the string value at the specified index.

getSize: () => Promise<number>

Get the number of elements in the array.

Type declaration

    • (): Promise<number>
    • Returns Promise<number>

      Return the number of elements in the array.

options?: Options
removeAll: () => Promise<void>

Remove all elements from the array.

Type declaration

    • (): Promise<void>
    • Returns Promise<void>

removeAt: (index: number) => Promise<void>

Remove the element at the specified index.

Type declaration

    • (index: number): Promise<void>
    • Parameters

      • index: number

        The index of the element to remove.

      Returns Promise<void>