finishSizePrefixed

fun finishSizePrefixed(rootTable: Offset<*>)

Finalize a buffer, pointing to the given root_table, with the size prefixed.

Parameters

rootTable

An offset to be added to the buffer.


fun finishSizePrefixed(rootTable: Offset<*>, fileIdentifier: String)

Finalize a buffer, pointing to the given root_table, with the size prefixed.

Parameters

rootTable

An offset to be added to the buffer.

fileIdentifier

A FlatBuffer file identifier to be added to the buffer before root_table.