added ByteBuffer support to all primitive types