Esempio n. 1
0
 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);
 }
Esempio n. 2
0
 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);
 }
Esempio n. 3
0
 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);
 }