public static ResizableArray <Byte> WriteInt64LEToBytes(this ResizableArray <Byte> array, ref Int32 idx, Int64 value) { array .EnsureThatCanAdd(idx, 8) .Array.WriteInt64LEToBytes(ref idx, value); return(array); }
public static ResizableArray <Byte> WriteSingleBEToBytes(this ResizableArray <Byte> array, ref Int32 idx, Single value) { array .EnsureThatCanAdd(idx, 4) .Array.WriteSingleBEToBytes(ref idx, value); return(array); }
public static ResizableArray <T> WriteArray <T>(this ResizableArray <T> array, ref Int32 idx, T[] sourceArray, Int32 offset, Int32 count) { array.EnsureThatCanAdd(idx, count); Array.Copy(sourceArray, offset, array.Array, idx, count); idx += count; return(array); }