2 writes to InitialByte
System.Formats.Cbor (2)
System\Formats\Cbor\CborInitialByte.cs (2)
50
InitialByte
= (byte)(((byte)majorType << 5) | (byte)additionalInfo);
55
InitialByte
= initialByte;
8 references to InitialByte
System.Formats.Cbor (8)
System\Formats\Cbor\CborInitialByte.cs (2)
58
public CborMajorType MajorType => (CborMajorType)(
InitialByte
>> 5);
59
public CborAdditionalInfo AdditionalInfo => (CborAdditionalInfo)(
InitialByte
& AdditionalInformationMask);
System\Formats\Cbor\Reader\CborReader.cs (2)
139
if (nextByte.
InitialByte
== CborInitialByte.IndefiniteLengthBreakByte ||
168
if (result.
InitialByte
!= CborInitialByte.IndefiniteLengthBreakByte)
System\Formats\Cbor\Reader\CborReader.PeekState.cs (1)
61
if (initialByte.
InitialByte
== CborInitialByte.IndefiniteLengthBreakByte)
System\Formats\Cbor\Reader\CborReader.String.cs (2)
455
while (nextInitialByte.
InitialByte
!= CborInitialByte.IndefiniteLengthBreakByte)
473
if (header.
InitialByte
!= CborInitialByte.IndefiniteLengthBreakByte && header.MajorType != expectedType)
System\Formats\Cbor\Writer\CborWriter.cs (1)
385
_buffer[_offset++] = initialByte.
InitialByte
;