WireHelpers

Undocumented in source.
struct WireHelpers {}

Members

Static functions

allocate
AllocateResult allocate(int refOffset, SegmentBuilder* segment, int amount, byte kind)
Undocumented in source. Be warned that the author may not have intended to support it.
copyPointer
SegmentBuilder* copyPointer(SegmentBuilder* dstSegment, int dstOffset, SegmentReader* srcSegment, int srcOffset, int nestingLimit)
Undocumented in source. Be warned that the author may not have intended to support it.
followBuilderFars
FollowBuilderFarsResult followBuilderFars(long ref_, int refTarget, SegmentBuilder* segment)
Undocumented in source. Be warned that the author may not have intended to support it.
followFars
FollowFarsResult followFars(long ref_, int refTarget, SegmentReader* segment)
Undocumented in source. Be warned that the author may not have intended to support it.
getWritableDataPointer
Data.Builder getWritableDataPointer(int refOffset, SegmentBuilder* segment, ByteBuffer* defaultBuffer, int defaultOffset, int defaultSize)
Undocumented in source. Be warned that the author may not have intended to support it.
getWritableListPointer
T getWritableListPointer(int origRefOffset, SegmentBuilder* origSegment, byte elementSize, SegmentReader* defaultSegment, int defaultOffset)
Undocumented in source. Be warned that the author may not have intended to support it.
getWritableStructListPointer
T getWritableStructListPointer(int origRefOffset, SegmentBuilder* origSegment, immutable(StructSize) elementSize, SegmentReader* defaultSegment, int defaultOffset)
Undocumented in source. Be warned that the author may not have intended to support it.
getWritableStructPointer
T getWritableStructPointer(int refOffset, SegmentBuilder* segment, immutable(StructSize) size, SegmentReader* defaultSegment, int defaultOffset)
Undocumented in source. Be warned that the author may not have intended to support it.
getWritableTextPointer
Text.Builder getWritableTextPointer(int refOffset, SegmentBuilder* segment, ByteBuffer* defaultBuffer, int defaultOffset, int defaultSize)
Undocumented in source. Be warned that the author may not have intended to support it.
initDataPointer
Data.Builder initDataPointer(int refOffset, SegmentBuilder* segment, int size)
Undocumented in source. Be warned that the author may not have intended to support it.
initListPointer
T initListPointer(int refOffset, SegmentBuilder* segment, int elementCount, ubyte elementSize)
Undocumented in source. Be warned that the author may not have intended to support it.
initStructListPointer
T initStructListPointer(int refOffset, SegmentBuilder* segment, int elementCount, immutable(StructSize) elementSize)
Undocumented in source. Be warned that the author may not have intended to support it.
initStructPointer
T initStructPointer(int refOffset, SegmentBuilder* segment, immutable(StructSize) size)
Undocumented in source. Be warned that the author may not have intended to support it.
initTextPointer
Text.Builder initTextPointer(int refOffset, SegmentBuilder* segment, int size)

Size is in bytes.

memcpy
void memcpy(ByteBuffer dstBuffer, int dstByteOffset, ByteBuffer srcBuffer, int srcByteOffset, int length)
Undocumented in source. Be warned that the author may not have intended to support it.
memset
void memset(ByteBuffer dstBuffer, int dstByteOffset, byte value, int length)
Undocumented in source. Be warned that the author may not have intended to support it.
readDataPointer
Data.Reader readDataPointer(SegmentReader* segment, int refOffset, ByteBuffer* defaultBuffer, int defaultOffset, int defaultSize)
Undocumented in source. Be warned that the author may not have intended to support it.
readListPointer
T readListPointer(SegmentReader* segment, int refOffset, SegmentReader* defaultSegment, int defaultOffset, byte expectedElementSize, int nestingLimit)
Undocumented in source. Be warned that the author may not have intended to support it.
readStructPointer
T readStructPointer(SegmentReader* segment, int refOffset, SegmentReader* defaultSegment, int defaultOffset, int nestingLimit)
Undocumented in source. Be warned that the author may not have intended to support it.
readTextPointer
Text.Reader readTextPointer(SegmentReader* segment, int refOffset, ByteBuffer* defaultBuffer, int defaultOffset, int defaultSize)
Undocumented in source. Be warned that the author may not have intended to support it.
roundBitsUpToBytes
int roundBitsUpToBytes(int bits)
Undocumented in source. Be warned that the author may not have intended to support it.
roundBitsUpToWords
int roundBitsUpToWords(long bits)
Undocumented in source. Be warned that the author may not have intended to support it.
roundBytesUpToWords
int roundBytesUpToWords(int bytes)
Undocumented in source. Be warned that the author may not have intended to support it.
setDataPointer
Data.Builder setDataPointer(int refOffset, SegmentBuilder* segment, Data.Reader value)
Undocumented in source. Be warned that the author may not have intended to support it.
setListPointer
SegmentBuilder* setListPointer(SegmentBuilder* segment, int refOffset, ListReader value)
Undocumented in source. Be warned that the author may not have intended to support it.
setStructPointer
SegmentBuilder* setStructPointer(SegmentBuilder* segment, int refOffset, StructReader value)
Undocumented in source. Be warned that the author may not have intended to support it.
setTextPointer
Text.Builder setTextPointer(int refOffset, SegmentBuilder* segment, Text.Reader value)
Undocumented in source. Be warned that the author may not have intended to support it.
transferPointer
void transferPointer(SegmentBuilder* dstSegment, int dstOffset, SegmentBuilder* srcSegment, int srcOffset)
Undocumented in source. Be warned that the author may not have intended to support it.
transferPointer
void transferPointer(SegmentBuilder* dstSegment, int dstOffset, SegmentBuilder* srcSegment, int srcOffset, int srcTargetOffset)
Undocumented in source. Be warned that the author may not have intended to support it.
zeroObject
void zeroObject(SegmentBuilder* segment, int refOffset)
Undocumented in source. Be warned that the author may not have intended to support it.
zeroObject
void zeroObject(SegmentBuilder* segment, long tag, int ptr)
Undocumented in source. Be warned that the author may not have intended to support it.
zeroPointerAndFars
void zeroPointerAndFars(SegmentBuilder* segment, int refOffset)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

AllocateResult
struct AllocateResult
Undocumented in source.
FollowBuilderFarsResult
struct FollowBuilderFarsResult
Undocumented in source.
FollowFarsResult
struct FollowFarsResult
Undocumented in source.

Meta