Changed Input system to use java.nio.Buffer instead of arrays.
Add new decoding Readable
Refactoring input....