public static void writeLong(long value, BinaryWriter writer) { writer.Write(IPAddress.HostToNetworkOrder(value)); }