1 instantiation of SerializedStreamHeaderRecord
System.Formats.Nrbf (1)
System\Formats\Nrbf\SerializedStreamHeaderRecord.cs (1)
50
return 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);
67
if (stream.Length - beginning <=
SerializedStreamHeaderRecord
.Size)
72
byte[] buffer = new byte[
SerializedStreamHeaderRecord
.Size];
165
var
header = (
SerializedStreamHeaderRecord
)DecodeNext(reader, recordMap, AllowedRecordTypes.SerializedStreamHeader, options, out _);
237
SerializationRecordType.SerializedStreamHeader =>
SerializedStreamHeaderRecord
.Decode(reader),
System\Formats\Nrbf\RecordMap.cs (1)
64
internal SerializationRecord GetRootRecord(
SerializedStreamHeaderRecord
header)
System\Formats\Nrbf\SerializedStreamHeaderRecord.cs (2)
27
public override TypeName TypeName => TypeName.Parse(nameof(
SerializedStreamHeaderRecord
).AsSpan());
33
internal static
SerializedStreamHeaderRecord
Decode(BinaryReader reader)