org.otfeed.support
Interface IBufferAllocator

All Known Implementing Classes:
ByteReverseBufferAllocator

public interface IBufferAllocator

Defines contract for ByteBuffer allocation service.


Method Summary
 java.nio.ByteBuffer allocate(int size)
          Allocates ByteBuffer with the given capacity.
 

Method Detail

allocate

java.nio.ByteBuffer allocate(int size)
Allocates ByteBuffer with the given capacity.

Parameters:
size - capacity (in bytes).
Returns:
buffer.


Copyright © 2007 Mike Kroutikov. All Rights Reserved.