bintostr Function

Function:

Serializes data into its binary representation, which is contained in a string.

Syntax:

bintostr(byref dst as string, byref src, size as byte)

See Also:

strtobin


Part

Description

dst

A string containing the binary representation of the data.

src

The original data to be serialized.

size

The size of the source data.


Details

This conversion is intended to facilitate the transmission of data to another Tibbo programmable device, on which the strtobin function can be used to deserialize the data. This process can also be used to store data into a file — a great way to preserve data for a reboot or long-term storage.


Keep in mind that in Tibbo BASIC, strings are limited to 255 characters.


bintostr Function

Details