Companion

object Companion

Functions

Link copied to clipboard

Compare string from the buffer with the 'String' object.

fun compareStrings(offsetA: Int, offsetB: Int, bb: ReadWriteBuffer): Int

Compare two strings in the buffer.

Link copied to clipboard

Check if a ReadWriteBuffer contains a file identifier.

Link copied to clipboard
fun indirect(offset: Int, bb: ReadWriteBuffer): Int

Retrieve a relative offset.

Link copied to clipboard
fun offset(vtableOffset: Int, offset: Offset<*>, bb: ReadWriteBuffer): Int
Link copied to clipboard
fun string(offset: Int, bb: ReadWriteBuffer): String

Create a Java String from UTF-8 data stored inside the FlatBuffer.

Link copied to clipboard
fun union(t: Table, offset: Int, bb: ReadWriteBuffer): Table

Initialize any Table-derived type to point to the union at the given offset.