# Package org.simpleframework.util.buffer

- Interface Summary
  Interface | Description
  --- | ---
  Allocator | The `Allocator` interface is used to describe a resource that can allocate a buffer.
  Buffer | The `Buffer` interface represents a collection of bytes that can be written to and later read.
  Stream | The `Stream` interface is used to represent anything that can be streamed.

- Class Summary
  Class | Description
  --- | ---
  ArrayAllocator | The `ArrayAllocator` object is used to provide a means to allocate buffers using a single byte array.
  ArrayBuffer | The `ArrayBuffer` is intended to be a general purpose byte buffer that stores bytes in an single internal byte array.
  BufferAllocator | The `BufferAllocator` object is used to provide a means to allocate buffers using a single underlying buffer.
  FileAllocator | The `FileAllocator` object is used to create buffers that can be written to the file system.
  FilterAllocator | The `FilterAllocator` object is used to provide a means to provide a general set of constraints around buffer allocation.

- Exception Summary
  Exception | Description
  --- | ---
  BufferException | The `BufferException` is used to report problems that can occur during the use or allocation of a buffer.