/// <summary> /// Writes uint64 data into internal buffer. /// </summary> /// <param name="data">uint64 data to write.</param> protected void Write(UInt64 data) { this.Write(data.GetBytes()); }
public static IEnumerable <byte> Concat(this IEnumerable <byte> sequence, UInt64 value) { return(sequence.Concat(value.GetBytes())); }
/// <summary> /// <para>Изменить порядок байт</para> /// </summary> /// <param name="value">Исходное значение</param> /// <returns>Результируюущее значение</returns> public static UInt64 Swap(this UInt64 value) { return(LoadUInt64(value.GetBytes(true), 0, false)); }
public BinaryWriter Write(UInt64 value) { byteList.AddRange(value.GetBytes()); return(this); }