WriteGuid() public method

public WriteGuid ( System.Guid value ) : void
value System.Guid
return void
Exemplo n.º 1
0
 internal static void WriteHeader(AbstractBufferedWriter writer, Guid? guid)
 {
     if (guid.HasValue)
     {
         writer.WriteByteArrayRaw(MagicStartOfFileWithGuid);
         writer.WriteGuid(guid.Value);
     }
     else
     {
         writer.WriteByteArrayRaw(MagicStartOfFile);
     }
 }