1 instantiation of SerializedStreamHeaderRecord
System.Formats.Nrbf (1)
System\Formats\Nrbf\SerializedStreamHeaderRecord.cs (1)
50return new SerializedStreamHeaderRecord(rootId);
10 references to SerializedStreamHeaderRecord
System.Formats.Nrbf (10)
System\Formats\Nrbf\NrbfDecoder.cs (7)
37=> bytes.Length >= SerializedStreamHeaderRecord.Size 39&& bytes.Slice(SerializedStreamHeaderRecord.Size - HeaderSuffix.Length, HeaderSuffix.Length).SequenceEqual(HeaderSuffix); 67if (stream.Length - beginning <= SerializedStreamHeaderRecord.Size) 72byte[] buffer = new byte[SerializedStreamHeaderRecord.Size]; 165var header = (SerializedStreamHeaderRecord)DecodeNext(reader, recordMap, AllowedRecordTypes.SerializedStreamHeader, options, out _); 237SerializationRecordType.SerializedStreamHeader => SerializedStreamHeaderRecord.Decode(reader),
System\Formats\Nrbf\RecordMap.cs (1)
64internal SerializationRecord GetRootRecord(SerializedStreamHeaderRecord header)
System\Formats\Nrbf\SerializedStreamHeaderRecord.cs (2)
27public override TypeName TypeName => TypeName.Parse(nameof(SerializedStreamHeaderRecord).AsSpan()); 33internal static SerializedStreamHeaderRecord Decode(BinaryReader reader)