示例#1
0
 void WriteEntry(BufferWriter writer, Entry <EmptyRecordIndexKey> entry)
 {
     writer.WriteInt32(entry.Key.S);     //Size
     writer.WriteInt64(entry.Key.A);     //Address
     writer.WriteInt64(entry.Pointer);   //Pointer (which is address too);
 }
 internal BinaryFormatter(BufferWriter writer)
 {
     this.Writer = writer;
     this.Writer.WriteByte(FORMATTER_VERSION);
 }