Write

The unit tests for write(ByteBuffer[], int, int) and write(ByteBuffer, long) are missing from this pull request.