required

fun required(table: Offset<*>, field: Int, fileName: String? = null)

Checks that a required field has been set in a given table that has just been constructed.

Parameters

table

The offset to the start of the table from the ByteBuffer capacity.

field

The offset to the field in the vtable.