org.xerial.snappy.buffer.BufferAllocator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of snappy-java Show documentation
Show all versions of snappy-java Show documentation
snappy-java: A fast compression/decompression library
package org.xerial.snappy.buffer;
/**
* BufferAllocator interface. The implementation of this interface must be thread-safe
*/
public interface BufferAllocator
{
public byte[] allocate(int size);
public void release(byte[] buffer);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy