Here are the examples of the csharp api System.IO.BinaryWriter.WriteUInt64BE(ulong) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
19
Source : PNGTools.cs
with MIT License
from Bunny83
with MIT License
from Bunny83
public static void WritePNGFile(PNGFile aFile, BinaryWriter aWriter)
{
aWriter.WriteUInt64BE(PNGFile.m_Signature);
foreach (var chunk in aFile.chunks)
{
aWriter.WriteUInt32BE((uint)chunk.data.Length);
aWriter.WriteUInt32BE((uint)chunk.type);
aWriter.Write(chunk.data);
aWriter.WriteUInt32BE(chunk.crc);
}
}