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
-
Method Details
-
allocate
byte[] allocate(int size) -
release
void release(byte[] buffer)
-