Exemplo n.º 1
0
 private HeaderExport(
     MutagenWriter writer,
     long sizePosition,
     RecordHeaderConstants recordConstants)
 {
     this.Writer          = writer;
     this.RecordConstants = recordConstants;
     this.SizePosition    = sizePosition;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="constants">Record constants to use as reference for alignment</param>
 /// <param name="span">Span to overlay on, aligned to the start of the header</param>
 public VariableHeader(RecordHeaderConstants constants, ReadOnlyMemorySlice <byte> span)
 {
     Constants = constants;
     Span      = span.Slice(0, constants.HeaderLength);
 }