Wpis z mikrobloga

@Philopolemus_Fronius:
Tak jak pisałem java doc czytałem, ale nie za bardzo widzę różnicę między w/w.
bo:
Clear - czyści bufor, tak?
reset - resetuje pozycje do poprzedniej - czyli do tej na której był zanim go wywołalilśmy
rewind (?)
flip (?) - z tego co wiem, używa sięgo przy każdym przejściu między zapis/odczyt bądź odczyt/zapis, ale po coś jeszcze?
@Cooltec: Z javadoca:

clear() makes a buffer ready for a new sequence of channel-read or relative put operations: It sets the limit to the capacity and the position to zero.

flip() makes a buffer ready for a new sequence of channel-write or relative get operations: It sets the limit to the current position and then sets the position to zero.

rewind() makes a buffer ready for re-reading the data that it