Package express.mvp.roray.utils.memory
package express.mvp.roray.utils.memory
-
ClassDescriptionAn interface for reading binary data sequentially from an underlying source.An interface for writing binary data sequentially to an underlying sink.A reusable, zero-allocation flyweight for performing bit-level operations over a MemorySegment.Defines the contract for a flyweight object.A utility class containing pre-defined, unaligned ValueLayout constants for common data types.A flexible, GC-free, and thread-safe pool for off-heap MemorySegments, designed for use with Loom virtual threads.AutoCloseable wrapper that returns a MemorySegment to its pool when closed.A high-performance, zero-copy BinaryReader implementation using MemorySegment.A high-performance, zero-copy BinaryWriter implementation using MemorySegment.A collection of stateless, high-performance utility methods for operating on
MemorySegments.A reusable, zero-allocation flyweight for viewing a UTF-8 encoded slice of a MemorySegment as a String.Types of UTF-8 validation errors.Result of UTF-8 validation, containing error type and position if invalid.A specialized writer for building messages with variable-length fields in a flyweight-compatible format.A handle for writing nested or composite fields directly into the backing segment.