Trying DDuarte patch on ByteBuffer