SectionBuffer

Undocumented in source.

Constructors

this
this(uint sectionSize, Alloc alloc)
Undocumented in source.
this
this(uint sectionSize)
Undocumented in source.

Members

Aliases

ALLOC
alias ALLOC = Alloc
Undocumented in source.
ALLOC
alias ALLOC = typeof(Alloc.instance)
Undocumented in source.
BufferVector
alias BufferVector = Vector!(ubyte[], Alloc, false)
Undocumented in source.
_alloc
alias _alloc = Alloc.instance
Undocumented in source.

Functions

maxSize
size_t maxSize()
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
ubyte opIndex(size_t i)
Undocumented in source. Be warned that the author may not have intended to support it.
read
size_t read(ubyte[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
read
size_t read(size_t size, void delegate(in ubyte[]) cback)
Undocumented in source. Be warned that the author may not have intended to support it.
readAll
size_t readAll(void delegate(in ubyte[]) cback)
Undocumented in source. Be warned that the author may not have intended to support it.
readLine
size_t readLine(void delegate(in ubyte[]) cback)
Undocumented in source. Be warned that the author may not have intended to support it.
readPos
size_t readPos()
Undocumented in source. Be warned that the author may not have intended to support it.
readUtil
size_t readUtil(ubyte[] data, void delegate(in ubyte[]) cback)
Undocumented in source. Be warned that the author may not have intended to support it.
reserve
void reserve(size_t size)
Undocumented in source. Be warned that the author may not have intended to support it.
rest
void rest(size_t size)
Undocumented in source. Be warned that the author may not have intended to support it.
set
size_t set(size_t pos, ubyte[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
swap
size_t swap(BufferVector uarray)
Undocumented in source. Be warned that the author may not have intended to support it.
write
size_t write(ubyte[] data)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

allocator
allocator [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
clear
void clear [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
clearWithMemory
void clearWithMemory [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
eof
bool eof [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
length
size_t length [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
readCount
readCount [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
readSite
readSite [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
readSize
readSize [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
stectionSize
size_t stectionSize [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
writeCount
writeCount [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
writeSite
writeSite [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

destroyBuffer
void destroyBuffer(ALLOC alloc, ubyte[] data)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From IBuffer

readLine
size_t readLine(void delegate(in ubyte[]) cback)
Undocumented in source.
readAll
size_t readAll(void delegate(in ubyte[]) cback)
Undocumented in source.
readUtil
size_t readUtil(ubyte[] data, void delegate(in ubyte[]) cback)
Undocumented in source.

Meta