docs: public static AllocationShape buildAllocationShape(DataBuffer buffer) {
          AllocationShape shape = new AllocationShape();
          shape.setDataType(buffer.dataType());
          shape.setLength(buffer.length());
  
          return shape;
      }