So I have this function in a C# program:
public void Write(BinaryWriter writer) { writer.Write(0x6369676F6C6572uL | ((ulong)Type << 56));