squiz_box.priv

Undocumented in source.

Members

Classes

ArrayCursor
class ArrayCursor
Undocumented in source.
ByteRangeCursor
class ByteRangeCursor(BR)

Range based data input

FileCursor
class FileCursor

The cursor MUST have exclusive access on the file

Functions

cursorByteRange
auto cursorByteRange(C cursor, ulong len, size_t chunkSize)
Undocumented in source. Be warned that the author may not have intended to support it.
gcAlloc
void* gcAlloc(void* opaque, T n, T m)
Undocumented in source. Be warned that the author may not have intended to support it.
gcFree
void gcFree(void* opaque, void* addr)
Undocumented in source. Be warned that the author may not have intended to support it.

Interfaces

Cursor
interface Cursor

A forward only data input iterator This is used either as adapter to File reading or as adapter to by-chunk data where arbitrary read length ease the implementation of an algorithm

SearchableCursor
interface SearchableCursor

A Cursor whose size is known and that can seek to arbitrary positions, including backwards.

Structs

ByChunkImpl
struct ByChunkImpl

same as std.stdio.File.byChunk but returns const(ubyte)[]

CompressDecompressAlgo
struct CompressDecompressAlgo(I, P)
Undocumented in source.
CursorByteRange
struct CursorByteRange(C)

ByteRange that takes its data from Cursor. Optionally stopping before data is exhausted.

LittleEndian
struct LittleEndian(size_t sz)
Undocumented in source.

Meta