@FunctionalInterface public interface ChunkHeaderProvider extends Resettable
The header usually depends on the chunk-data itself (hex-size), but is not required to. In RFC-7230, the chunk-header is specifically the
chunk-size, but this interface can give us greater flexibility.
| Modifier and Type | Method and Description |
|---|---|
byte[] |
get(ByteBuffer chunk) |
resetbyte[] get(ByteBuffer chunk)
Copyright © 2026. All rights reserved.