Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

BZip2FileMBS.Close
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Compression MBS Compression Plugin 9.7 Yes Yes Yes Yes No
Function: The destructor.
Notes:
There is no need to call this method except you want to free all resources of this object now without waiting for Realbasic to do it for you.
(e.g. some Realbasic versions crash on Windows if there are plugin objects not closed.)

Lasterror and LasterrorMessage are set.

Feedback, Comments & Corrections

BZip2FileMBS.Flush
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Compression MBS Compression Plugin 9.7 Yes Yes Yes Yes No
Function: Flushes all pending output into the compressed file.
Notes: Lasterror and LasterrorMessage are set.

Feedback, Comments & Corrections

BZip2FileMBS.Open(file as folderitem, mode as string) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Compression MBS Compression Plugin 9.7 Yes Yes Yes Yes No
Function: Opens a .bz2 file for reading or writing, using the given file path.
Notes:
Returns false on failure.
Mode can be "r" for reading and "w" for writing. Or other values fopen accepts.

Lasterror and LasterrorMessage are set.

Feedback, Comments & Corrections

BZip2FileMBS.OpenString(data as string) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Compression MBS Compression Plugin 9.7 Yes Yes Yes Yes No
Function: Opens a bzip compressed file from the given string.
Notes:
Returns true on success and false on failure.

Lasterror and LasterrorMessage are set.

Feedback, Comments & Corrections

BZip2FileMBS.Read(ByteCount as Int64) as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Compression MBS Compression Plugin 9.7 Yes Yes Yes Yes No
Function: Reads data form a compresses file.
Notes: Lasterror and LasterrorMessage are set.

Feedback, Comments & Corrections

BZip2FileMBS.ReadByte as integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Compression MBS Compression Plugin 18.3 Yes Yes Yes Yes No
Function: Reads a single byte.
Notes: Lasterror and LasterrorMessage are set.

Feedback, Comments & Corrections

BZip2FileMBS.ReadData(ByteCount as Int64) as Memoryblock
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Compression MBS Compression Plugin 18.3 Yes Yes Yes Yes No
Function: Reads data into memoryblock.
Notes: Lasterror and LasterrorMessage are set.

Feedback, Comments & Corrections

BZip2FileMBS.Write(data as Memoryblock)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Compression MBS Compression Plugin 18.3 Yes Yes Yes Yes No
Function: Writes data to the file and compresses it.
Notes: Lasterror and LasterrorMessage are set.

See also:

Feedback, Comments & Corrections

BZip2FileMBS.Write(data as string)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Compression MBS Compression Plugin 9.7 Yes Yes Yes Yes No
Function: Writes data to the file and compresses it.
Notes: Lasterror and LasterrorMessage are set.

See also:

Feedback, Comments & Corrections

BZip2FileMBS.WriteByte(data as integer)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Compression MBS Compression Plugin 18.3 Yes Yes Yes Yes No
Function: Writes a single byte.
Notes: Lasterror and LasterrorMessage are set.

Feedback, Comments & Corrections

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




Links
MBS Xojo Chart Plugins