- LzmaDec_Allocate
SRes LzmaDec_Allocate(CLzmaDec* p, const(Byte)* props, uint propsSize)
Undocumented in source. Be warned that the author may not have intended to support it.
- LzmaDec_AllocateProbs
SRes LzmaDec_AllocateProbs(CLzmaDec* p, const(Byte)* props, uint propsSize)
Undocumented in source. Be warned that the author may not have intended to support it.
- LzmaDec_DecodeToBuf
SRes LzmaDec_DecodeToBuf(CLzmaDec* p, Byte* dest, SizeT* destLen, const(Byte)* src, SizeT* srcLen, ELzmaFinishMode finishMode, ELzmaStatus* status)
Undocumented in source. Be warned that the author may not have intended to support it.
- LzmaDec_DecodeToDic
SRes LzmaDec_DecodeToDic(CLzmaDec* p, SizeT dicLimit, const(Byte)* src, SizeT* srcLen, ELzmaFinishMode finishMode, ELzmaStatus* status)
Undocumented in source. Be warned that the author may not have intended to support it.
- LzmaDec_Free
void LzmaDec_Free(CLzmaDec* p)
Undocumented in source. Be warned that the author may not have intended to support it.
- LzmaDec_FreeProbs
void LzmaDec_FreeProbs(CLzmaDec* p)
Undocumented in source. Be warned that the author may not have intended to support it.
- LzmaDec_Init
void LzmaDec_Init(CLzmaDec* p)
Undocumented in source. Be warned that the author may not have intended to support it.
- LzmaDecode
SRes LzmaDecode(Byte* dest, SizeT* destLen, const(Byte)* src, SizeT* srcLen, const(Byte)* propData, uint propSize, ELzmaFinishMode finishMode, ELzmaStatus* status)
Undocumented in source. Be warned that the author may not have intended to support it.
- LzmaProps_Decode
SRes LzmaProps_Decode(CLzmaProps* p, const(Byte)* data, uint size)
Undocumented in source. Be warned that the author may not have intended to support it.
- processTar
bool processTar(TarFileHeader* header, long* bytesRemainingOnCurrentFile, ubyte[] dataBuffer, void delegate(TarFileHeader* header, bool isNewFile, bool fileFinished, ubyte[] data) handleData)
Low level tar file processor. You must pass it a
TarFileHeader buffer as well as a size_t for context.
Both must be initialized to all zeroes on first call,
then not modified in between calls.
- readVla
ulong readVla(ubyte[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
- upToZero
inout(char)[] upToZero(inout(char)[] a)
Undocumented in source. Be warned that the author may not have intended to support it.
Provides LZMA (aka .xz) and .tar file read-only support. Combine to read .tar.xz files, or use in conjunction with other files to read other types of .tar files.
Also has a custom archive called arcz read and write support. It is designed to efficiently pack and randomly access large numbers of similar files. Unlike .zip files, it will do cross-file compression (meaning it can significantly shrink archives with several small but similar files), and unlike tar.gz files, it supports random access without decompressing the whole archive to get an individual file. It is designed for large numbers of small, similar files.