string
Create a Java String
from UTF-8 data stored inside the FlatBuffer.
This allocates a new string and converts to wide chars upon each access, which is not very efficient. Instead, each FlatBuffer string also comes with an accessor based on __vector_as_ReadWriteBuffer below, which is much more efficient, assuming your Java program can handle UTF-8 data directly.
Return
Returns a String
from the data stored inside the FlatBuffer at offset
.
Parameters
offset
An int
index into the Table's ReadWriteBuffer.