Add support for java.nio.Buffer

including test-suite test case and documentation