Package org.xerial.snappy.buffer
Interface BufferAllocator
-
- All Known Implementing Classes:
CachedBufferAllocator
,DefaultBufferAllocator
public interface BufferAllocator
BufferAllocator interface. The implementation of this interface must be thread-safe
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]
allocate(int size)
void
release(byte[] buffer)
-