Top Description Methods
org.xerial.snappy.buffer

public Interface BufferAllocator

Known Direct Implementers
org.xerial.snappy.buffer.CachedBufferAllocator, org.xerial.snappy.buffer.DefaultBufferAllocator

BufferAllocator interface. The implementation of this interface must be thread-safe

Method Summary

Modifier and TypeMethod and Description
public byte[]
allocate(int size)

public void
release(byte[] buffer)

Method Detail

allocateback to summary
public byte[] allocate(int size)
releaseback to summary
public void release(byte[] buffer)