Module: LibMsPack::MsPack::Constants

Included in:
Constants
Defined in:
lib/libmspack/mspack.rb

Constant Summary collapse

MSPACK_VER_LIBRARY =

Pass to #Version to get the overall library version.

0
MSPACK_VER_SYSTEM =

Pass to #Version to get the MsPackSystem version.

1
MSPACK_VER_MSCABD =

Pass to #Version to get the MsCabDecompressor version.

2
MSPACK_VER_MSCABC =

Pass to #Version to get the MsCabCompressor version.

3
MSPACK_VER_MSCHMD =

Pass to #Version to get the MsChmDecompressor version.

4
MSPACK_VER_MSCHMC =

Pass to #Version to get the MsChmCompressor version.

5
MSPACK_VER_MSLITD =

Pass to #Version to get the MsLitDecompressor version.

6
MSPACK_VER_MSLITC =

Pass to #Version to get the MsLitCompressor version.

7
MSPACK_VER_MSHLPD =

Pass to #Version to get the MsHlpDecompressor version.

8
MSPACK_VER_MSHLPC =

Pass to #Version to get the MsHlpCompressor version.

9
MSPACK_VER_MSSZDDD =

Pass to #Version to get the MsSzddDecompressor version.

10
MSPACK_VER_MSSZDDC =

Pass to #Version to get the MsSzddCompressor version.

11
MSPACK_VER_MSKWAJD =

Pass to #Version to get the MsKwajDecompressor version.

12
MSPACK_VER_MSKWAJC =

Pass to #Version to get the MsKwajCompressor version.

13
MSPACK_VER_MSOABD =

Pass to #Version to get the MsOabDecompressor version.

14
MSPACK_VER_MSOABC =

Pass to #Version to get the MsOabCompressor version.

15
MSPACK_SYS_OPEN_READ =

MsPackSystem#open mode: open existing file for reading

0
MSPACK_SYS_OPEN_WRITE =

MsPackSystem#open mode: open new file for writing

1
MSPACK_SYS_OPEN_UPDATE =

MsPackSystem#open mode: open existing file for writing

2
MSPACK_SYS_OPEN_APPEND =

MsPackSystem#open mode: open existing file for writing

3
MSPACK_SYS_SEEK_START =

MsPackSystem#seek mode: seek relative to start of file

0
MSPACK_SYS_SEEK_CUR =

MsPackSystem#seek mode: seek relative to current offset

1
MSPACK_SYS_SEEK_END =

MsPackSystem#seek mode: seek relative to end of file

2
MSPACK_ERR_OK =

Error code: no error.

0
MSPACK_ERR_ARGS =

Error code: bad arguments to method.

1
MSPACK_ERR_OPEN =

Error code: error opening file.

2
MSPACK_ERR_READ =

Error code: error reading file.

3
MSPACK_ERR_WRITE =

Error code: error writing file.

4
MSPACK_ERR_SEEK =

Error code: seek error.

5
MSPACK_ERR_NOMEMORY =

Error code: out of memory.

6
MSPACK_ERR_SIGNATURE =

Error code: bad "magic id" in file.

7
MSPACK_ERR_DATAFORMAT =

Error code: bad or corrupt file format.

8
MSPACK_ERR_CHECKSUM =

Error code: bad checksum or CRC.

9
MSPACK_ERR_CRUNCH =

Error code: error during compression.

10
MSPACK_ERR_DECRUNCH =

Error code: error during decompression.

11