Xojo Conferences
XDCMay2019MiamiUSA
MBSOct2019CologneDE

Platforms to show: All Mac Windows Linux Cross-Platform

Previous items

ArchiveWriterMBS.SetFormatByName(Name as String)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Archive MBS Compression Plugin 16.2 Yes Yes Yes Yes No
Function: Sets format by name.
Notes: Lasterror property is set.

Feedback, Comments & Corrections

ArchiveWriterMBS.SetFormatCpio
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Archive MBS Compression Plugin 16.2 Yes Yes Yes Yes No
Function: Sets format to cpio.
Notes: Lasterror property is set.

Feedback, Comments & Corrections

ArchiveWriterMBS.SetFormatCpioNewc
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Archive MBS Compression Plugin 16.2 Yes Yes Yes Yes No
Function: Sets format to cpio newc.
Notes: Lasterror property is set.

Feedback, Comments & Corrections

ArchiveWriterMBS.SetFormatGnutar
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Archive MBS Compression Plugin 16.2 Yes Yes Yes Yes No
Function: Sets format to gnu tape archive files.
Notes: Lasterror property is set.

Feedback, Comments & Corrections

ArchiveWriterMBS.SetFormatIso9660
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Archive MBS Compression Plugin 16.2 Yes Yes Yes Yes No
Function: Sets format to iso 9660.
Notes: Lasterror property is set.

Feedback, Comments & Corrections

ArchiveWriterMBS.SetFormatMTree
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Archive MBS Compression Plugin 16.2 Yes Yes Yes Yes No
Function: Sets format to mtree.
Notes: Lasterror property is set.

Feedback, Comments & Corrections

ArchiveWriterMBS.SetFormatMTreeClassic
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Archive MBS Compression Plugin 16.2 Yes Yes Yes Yes No
Function: Sets format to mtree classic.
Notes: Lasterror property is set.

Feedback, Comments & Corrections

ArchiveWriterMBS.SetFormatOption(Module as String, Option as String, Value as String)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Archive MBS Compression Plugin 19.0 Yes Yes Yes Yes No
Function: Apply option to the format only.
Notes: Lasterror property is set.

Feedback, Comments & Corrections

ArchiveWriterMBS.SetFormatPax
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Archive MBS Compression Plugin 16.2 Yes Yes Yes Yes No
Function: Sets format to pax.
Notes: Lasterror property is set.

Feedback, Comments & Corrections

ArchiveWriterMBS.SetFormatPaxRestricted
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Archive MBS Compression Plugin 16.2 Yes Yes Yes Yes No
Function: Sets format to pax restricted.
Notes: Lasterror property is set.

Feedback, Comments & Corrections

ArchiveWriterMBS.SetFormatRaw
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Archive MBS Compression Plugin 16.3 Yes Yes Yes Yes No
Function: Sets raw format.
Notes: Lasterror property is set.

Feedback, Comments & Corrections

ArchiveWriterMBS.SetFormatShar
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Archive MBS Compression Plugin 16.2 Yes Yes Yes Yes No
Function: Sets format to shar.
Notes: Lasterror property is set.

Feedback, Comments & Corrections

ArchiveWriterMBS.SetFormatSharDump
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Archive MBS Compression Plugin 16.2 Yes Yes Yes Yes No
Function: Sets format to shar dump.
Notes: Lasterror property is set.

Feedback, Comments & Corrections

ArchiveWriterMBS.SetFormatUstar
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Archive MBS Compression Plugin 16.2 Yes Yes Yes Yes No
Function: Sets format to Unix Standard TAR.
Notes: Lasterror property is set.

Feedback, Comments & Corrections

ArchiveWriterMBS.SetFormatV7tar
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Archive MBS Compression Plugin 16.2 Yes Yes Yes Yes No
Function: Sets format to v7 tape archive files.
Notes: Lasterror property is set.

Feedback, Comments & Corrections

ArchiveWriterMBS.SetFormatWArc
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Archive MBS Compression Plugin 16.3 Yes Yes Yes Yes No
Function: Sets format to web archive.
Notes: Lasterror property is set.

Feedback, Comments & Corrections

ArchiveWriterMBS.SetFormatXar
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Archive MBS Compression Plugin 16.2 Yes Yes Yes Yes No
Function: Sets format to xar.
Notes: Lasterror property is set.

Feedback, Comments & Corrections

ArchiveWriterMBS.SetFormatZip
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Archive MBS Compression Plugin 16.2 Yes Yes Yes Yes No
Function: Sets format to zip.
Example:
dim a as new ArchiveWriterMBS

a.SetFormatZip
a.ZipSetCompressionDeflate

dim f as FolderItem = SpecialFolder.Desktop.Child("test.zip")
if not a.CreateFile(f) then
break // failed

else

dim data as string = "Hello World test file. Hello World again."

dim e as new ArchiveEntryMBS
e.PathName = "Hello World.txt"
e.Size = lenb(data)
e.Permissions = &o0644
e.FileType = e.kFileTypeRegular

a.WriteHeader e
call a.WriteData data

a.FinishEntry

a.Close
end if
Notes: Lasterror property is set.

Feedback, Comments & Corrections

ArchiveWriterMBS.SetOption(Module as String, Option as String, Value as String)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Archive MBS Compression Plugin 19.0 Yes Yes Yes Yes No
Function: Apply option to both the format and the filter.
Notes: Lasterror property is set.

Feedback, Comments & Corrections

ArchiveWriterMBS.SetOptions(Options as String)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Archive MBS Compression Plugin 19.0 Yes Yes Yes Yes No
Function: Apply option string to both the format and the filter.
Notes: Lasterror property is set.

Feedback, Comments & Corrections

ArchiveWriterMBS.SetPassphrase(Password as String)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Archive MBS Compression Plugin 16.3 Yes Yes Yes Yes No
Function: Sets the passphrase to use.
Notes:
Alternatively you can use the Passphrase event.
Lasterror property is set.

Feedback, Comments & Corrections

ArchiveWriterMBS.SetSkipFile(DeviceID as Int64, FileNo as Int64)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Archive MBS Compression Plugin 19.0 Yes Yes Yes Yes No
Function: Record the dev/ino of a file that will not be written.
Notes:
This is generally set to the dev/ino of the archive being written.
Lasterror property is set.

Feedback, Comments & Corrections

ArchiveWriterMBS.WriteData(data as MemoryBlock) as Int64
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Archive MBS Compression Plugin 16.2 Yes Yes Yes Yes No
Function: Writes data to current file.
Notes:
Returns number of bytes written.
Lasterror property is set.

See also:

Feedback, Comments & Corrections

ArchiveWriterMBS.WriteData(data as Ptr, Size as Int64) as Int64
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Archive MBS Compression Plugin 16.2 Yes Yes Yes Yes No
Function: Writes data to current file.
Notes:
Returns number of bytes written.
Lasterror property is set.

See also:

Feedback, Comments & Corrections

ArchiveWriterMBS.WriteData(data as string) as Int64
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Archive MBS Compression Plugin 16.2 Yes Yes Yes Yes No
Function: Writes data to current file.
Notes:
Returns number of bytes written.
Lasterror property is set.

See also:

Feedback, Comments & Corrections

ArchiveWriterMBS.WriteData(SourceArchive as ArchiveReaderMBS) as Int64
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Archive MBS Compression Plugin 19.0 Yes Yes Yes Yes No
Function: Writes data to current file.
Notes:
Loops over blocks in source archive entry and copies them all to current archive.
Returns number of bytes written.
Lasterror property is set.

See also:

Feedback, Comments & Corrections

ArchiveWriterMBS.WriteHeader(Entry as ArchiveEntryMBS)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Archive MBS Compression Plugin 16.2 Yes Yes Yes Yes No
Function: Writes an archive item.
Notes: Lasterror property is set.

Feedback, Comments & Corrections

ArchiveWriterMBS.ZipSetCompressionDeflate
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Archive MBS Compression Plugin 16.2 Yes Yes Yes Yes No
Function: Sets compression for zip to deflate.
Notes: Lasterror property is set.

Feedback, Comments & Corrections

ArchiveWriterMBS.ZipSetCompressionStore
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Archive MBS Compression Plugin 16.2 Yes Yes Yes Yes No
Function: Sets compression for zip to store.
Notes:
Store is no compression.
Lasterror property is set.

Feedback, Comments & Corrections

Previous items

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




Links
MBS Xojo blog