Package com.google.flatbuffers
Class Constants
- java.lang.Object
-
- com.google.flatbuffers.Constants
-
public class Constants extends Object
Class that holds shared constants
-
-
Field Summary
Fields Modifier and Type Field Description static intSIZE_PREFIX_LENGTHThe number of bytes in a size prefix.
-
Constructor Summary
Constructors Constructor Description Constants()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidFLATBUFFERS_25_2_10()A version identifier to force a compile error if someone accidentally tries to build generated code with a runtime of two mismatched version.
-
-
-
Field Detail
-
SIZE_PREFIX_LENGTH
public static final int SIZE_PREFIX_LENGTH
The number of bytes in a size prefix.- See Also:
- Constant Field Values
-
-
Method Detail
-
FLATBUFFERS_25_2_10
public static void FLATBUFFERS_25_2_10()
A version identifier to force a compile error if someone accidentally tries to build generated code with a runtime of two mismatched version. Versions need to always match, as the runtime and generated code are modified in sync. Changes to the Java implementation need to be sure to change the version here and in the code generator on every possible incompatible change
-
-