public override int[] Init() { return(bytesStart = new int[ArrayUtil.Oversize(m_initSize, RamUsageEstimator.NUM_BYTES_INT32)]); }
/// <summary> /// Create a <seealso cref="GrowableByteArrayDataOutput"/> with the given initial capacity. </summary> public GrowableByteArrayDataOutput(int cp) { this.Bytes = new byte[ArrayUtil.Oversize(cp, 1)]; this.Length = 0; }