Changed cByteBuffer constructor to take a size_t instead of int.