Module BinArray

The class that's used to create and manage BinArrays.

Info:

  • Copyright: Debaru Kft. 2017
  • Release:
  • License: GNU
  • Author: Debaru Kft

Functions

BinArray (initial_size) Creates a BinArray instance.
get (index) Gets an element of the BinArray.
set (index, value) Sets an element of the BinArray.
to_string () Returns the elements of the BinArray as a string.
dump () Prints the contents of the BinArray to the stdout in hexa form.
from_string (data) Creates a BinArray based on a string.

Fields

size Represents the size of the BinArray.


Functions

BinArray (initial_size)
Creates a BinArray instance.

Parameters:

  • initial_size int
get (index)
Gets an element of the BinArray.

Parameters:

set (index, value)
Sets an element of the BinArray.

Parameters:

to_string ()
Returns the elements of the BinArray as a string.

Returns:

    string
dump ()
Prints the contents of the BinArray to the stdout in hexa form.
from_string (data)
Creates a BinArray based on a string.

Parameters:

Fields

size
Represents the size of the BinArray.
generated by LDoc 1.4.6 Last updated 2023-09-25 09:31:08