Motivation: Having buffers that are able to expand to accommodate more data on demand is a great convenience. Modification: Composite and MemSeg buffers are now able to mutate their backing storage, to increase their capacity. This required some tricky integration with allocators via AllocatorControl. Basically, it's now possible to allocate memory that is NOT bound by any life time, so that it can be attached to the life time that already exists for the buffer being expanded. Result: Buffers can now be expanded via Buf.ensureWritable. |
||
---|---|---|
buffer/src | ||
common/src/main/java/io/netty/util | ||
microbench/src/main/java/io/netty/buffer | ||
.gitignore | ||
pom.xml | ||
README.md |
Netty Incubator Buffer API
This repository is incubating a new buffer API proposed for Netty 5.