public class FBSerializables extends Object
Modifier and Type | Method and Description |
---|---|
static int |
writeAllStructsToVector(com.google.flatbuffers.FlatBufferBuilder builder,
List<? extends FBSerializable> all)
Writes every element of all to builder and calls
FlatBufferBuilder.endVector() afterwards. |
static int |
writeKeyValues(com.google.flatbuffers.FlatBufferBuilder builder,
Map<String,String> metaData)
Writes map data with string type.
|
public static int writeAllStructsToVector(com.google.flatbuffers.FlatBufferBuilder builder, List<? extends FBSerializable> all)
FlatBufferBuilder.endVector()
afterwards.
Returns the number of result of calling endVector.Copyright © 2024 The Apache Software Foundation. All rights reserved.