#include <Buffer.h>
Public Member Functions | |
virtual | ~Buffer () |
size_t | capacity () const throw () |
Buffer & | clear () throw () |
Buffer & | flip () throw () |
bool | hasRemaining () const throw () |
virtual bool | isReadOnly () const =0 throw () |
size_t | limit () const throw () |
Buffer & | limit (size_t newLimit) throw (IllegalArgumentException) |
Buffer & | mark () throw () |
size_t | position () const throw () |
Buffer & | position (size_t newPosition) throw (IllegalArgumentException) |
size_t | remaining () const throw () |
Buffer & | reset () throw (InvalidMarkException) |
Buffer & | rewind () throw () |
Protected Member Functions | |
Buffer (size_t capacity, size_t limit, bool readonly) | |
Protected Attributes | |
size_t | _capacity |
size_t | _limit |
size_t | _mark |
size_t | _position |
bool | _marked |
bool | _readonly |
beecrypt::nio::Buffer::Buffer | ( | size_t | capacity, | |
size_t | limit, | |||
bool | readonly | |||
) | [protected] |
virtual beecrypt::nio::Buffer::~Buffer | ( | ) | [inline, virtual] |
size_t beecrypt::nio::Buffer::capacity | ( | ) | const throw () |
Buffer& beecrypt::nio::Buffer::clear | ( | ) | throw () |
Buffer& beecrypt::nio::Buffer::flip | ( | ) | throw () |
bool beecrypt::nio::Buffer::hasRemaining | ( | ) | const throw () |
virtual bool beecrypt::nio::Buffer::isReadOnly | ( | ) | const throw () [pure virtual] |
Buffer& beecrypt::nio::Buffer::limit | ( | size_t | newLimit | ) | throw (IllegalArgumentException) |
size_t beecrypt::nio::Buffer::limit | ( | ) | const throw () |
Buffer& beecrypt::nio::Buffer::mark | ( | ) | throw () |
Buffer& beecrypt::nio::Buffer::position | ( | size_t | newPosition | ) | throw (IllegalArgumentException) |
size_t beecrypt::nio::Buffer::position | ( | ) | const throw () |
size_t beecrypt::nio::Buffer::remaining | ( | ) | const throw () |
Buffer& beecrypt::nio::Buffer::reset | ( | ) | throw (InvalidMarkException) |
Buffer& beecrypt::nio::Buffer::rewind | ( | ) | throw () |
size_t beecrypt::nio::Buffer::_capacity [protected] |
size_t beecrypt::nio::Buffer::_limit [protected] |
size_t beecrypt::nio::Buffer::_mark [protected] |
bool beecrypt::nio::Buffer::_marked [protected] |
size_t beecrypt::nio::Buffer::_position [protected] |
bool beecrypt::nio::Buffer::_readonly [protected] |