Expose ByteBuffer implmentation.
Use ByteBuffer implementation instead of coping bytes.