Example #1
0
 public TBuilder Resize(int length)
 {
     ValueOffsets.Resize(length + 1);
     ValueBuffer.Resize(length);
     ValidityBuffer.Resize(length + 1);
     return(Instance);
 }
Example #2
0
 public TBuilder Resize(int length)
 {
     // TODO: [ARROW-9366] Resize the value buffer to a safe length based on offsets, not `length`.
     ValueOffsets.Resize(length + 1);
     ValueBuffer.Resize(length);
     ValidityBuffer.Resize(length + 1);
     return(Instance);
 }