Package org.bluezoo.util
package org.bluezoo.util
Low-level byte manipulation utilities.
This package provides fundamental byte array and buffer utilities used throughout the Gumdrop codebase for efficient binary data handling.
Key Components
ByteArrays- Static utility methods for byte array operations (searching, copying, comparison)
ByteArrays
Provides efficient algorithms for:
- Pattern searching in byte arrays
- Array slicing and concatenation
- Comparison and equality checks
Design
These utilities are designed for:
- Zero-copy operations where possible
- Minimal memory allocation
- Performance in hot paths
- Author:
- Chris Burdess
-
ClassesClassDescriptionA
WritableByteChanneldecorator that buffers writes into a fixed-sizeByteBufferbefore flushing to the underlying channel.Utility methods for byte array operations.