Platforms to show: All Mac Windows Linux Cross-Platform

Back to BZip2FileMBS class.

BZip2FileMBS.Close

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Compression MBS Compression Plugin 9.7 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The destructor.

There is no need to call this method except you want to free all resources of this object now without waiting for Xojo to do it for you.

Lasterror and LasterrorMessage are set.

BZip2FileMBS.Flush

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Compression MBS Compression Plugin 9.7 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Flushes all pending output into the compressed file.

Lasterror and LasterrorMessage are set.

BZip2FileMBS.Open(file as folderitem, mode as string) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Compression MBS Compression Plugin 9.7 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Opens a .bz2 file for reading or writing, using the given file path.

Returns false on failure.
Mode can be "r" for reading and "w" for writing. Or other values fopen accepts.

Lasterror and LasterrorMessage are set.

BZip2FileMBS.OpenString(data as string) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Compression MBS Compression Plugin 9.7 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Opens a bzip compressed file from the given string.

Returns true on success and false on failure.

Lasterror and LasterrorMessage are set.

BZip2FileMBS.Read(ByteCount as Int64) as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Compression MBS Compression Plugin 9.7 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Reads data form a compresses file.

Lasterror and LasterrorMessage are set.

BZip2FileMBS.ReadByte as integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Compression MBS Compression Plugin 18.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Reads a single byte.

Lasterror and LasterrorMessage are set.

BZip2FileMBS.ReadData(ByteCount as Int64) as Memoryblock

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Compression MBS Compression Plugin 18.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Reads data into memoryblock.

Lasterror and LasterrorMessage are set.

BZip2FileMBS.Write(data as Memoryblock)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Compression MBS Compression Plugin 18.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Writes data to the file and compresses it.

Lasterror and LasterrorMessage are set.

See also:

BZip2FileMBS.Write(data as string)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Compression MBS Compression Plugin 9.7 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Writes data to the file and compresses it.

Lasterror and LasterrorMessage are set.

See also:

BZip2FileMBS.WriteByte(data as integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Compression MBS Compression Plugin 18.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Writes a single byte.

Lasterror and LasterrorMessage are set.

The items on this page are in the following plugins: MBS Compression Plugin.


The biggest plugin in space...