Field#

class Field#

This class holds one or more CTiles that represent the values of a specific data base entry for a batch of records whose size is equal to the number of slots available in the used HeContext.

load_from_buffer(self: pyhelayers.Field, buf: bytes) None#

Loads this Field from a buffer.

Parameters:

buf – a memory buffer to load the object from.

load_from_file(self: pyhelayers.Field, file_name: str) int#

Loads this Field from a file saved by save_to_file().

Parameters:

file_name (string) – File to load from.

save_to_buffer(self: pyhelayers.Field) bytes#

Saves this Field into a buffer.

Returns:

a memory buffer containing the saved object.

save_to_file(self: pyhelayers.Field, file_name: str) int#

Saves this Field to a file in binary form.

Parameters:

file_name (string) – File to write to.