Class Layouts
java.lang.Object
express.mvp.roray.utils.memory.Layouts
A utility class containing pre-defined, unaligned ValueLayout constants for common data types.
Using .withByteAlignment(1) on all multi-byte types allows these layouts to read from
or write to any byte offset, which is crucial for packed, zero-copy data structures.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ValueLayout.OfBooleanstatic final ValueLayout.OfBytestatic final ValueLayout.OfDoublestatic final ValueLayout.OfDoublestatic final ValueLayout.OfFloatstatic final ValueLayout.OfFloatstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfLongstatic final ValueLayout.OfLongstatic final ValueLayout.OfShortstatic final ValueLayout.OfShort -
Method Summary
-
Field Details
-
BYTE
-
BOOLEAN
-
SHORT_BE
-
INT_BE
-
LONG_BE
-
FLOAT_BE
-
DOUBLE_BE
-
SHORT_LE
-
INT_LE
-
LONG_LE
-
FLOAT_LE
-
DOUBLE_LE
-