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