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)
38=> bytes.Length >= SerializedStreamHeaderRecord.Size 40&& bytes.Slice(SerializedStreamHeaderRecord.Size - HeaderSuffix.Length, HeaderSuffix.Length).SequenceEqual(HeaderSuffix); 68if (stream.Length - beginning <= SerializedStreamHeaderRecord.Size) 73byte[] buffer = new byte[SerializedStreamHeaderRecord.Size]; 166var header = (SerializedStreamHeaderRecord)DecodeNext(reader, recordMap, AllowedRecordTypes.SerializedStreamHeader, options, out _); 238SerializationRecordType.SerializedStreamHeader => SerializedStreamHeaderRecord.Decode(reader),
System\Formats\Nrbf\RecordMap.cs (1)
64internal SerializationRecord GetRootRecord(SerializedStreamHeaderRecord header) => GetRecord(header.RootId);
System\Formats\Nrbf\SerializedStreamHeaderRecord.cs (2)
27public override TypeName TypeName => TypeName.Parse(nameof(SerializedStreamHeaderRecord).AsSpan()); 33internal static SerializedStreamHeaderRecord Decode(BinaryReader reader)