Allow to obtain the size of the ByteBuffer which are returned by allocate()