11 references to Bitshifter
IIS.NewShim.FunctionalTests (11)
src\Shared\Http2cat\Http2Utilities.cs (5)
258Bitshifter.WriteUInt24BigEndian(buffer, (uint)frame.PayloadLength); 265Bitshifter.WriteUInt31BigEndian(buffer, (uint)frame.StreamId, preserveHighestBit: false); 331Bitshifter.WriteUInt31BigEndian(extendedHeader, (uint)streamDependency); 376Bitshifter.WriteUInt31BigEndian(extendedHeader.Slice(1), (uint)streamDependency); 736Bitshifter.WriteUInt31BigEndian(payload, (uint)streamDependency);
src\Shared\ServerInfrastructure\Http2\Http2FrameReader.cs (6)
51var payloadLength = (int)Bitshifter.ReadUInt24BigEndian(header); 67frame.StreamId = (int)Bitshifter.ReadUInt31BigEndian(header.Slice(StreamIdOffset)); 133frame.HeadersStreamDependency = (int)Bitshifter.ReadUInt31BigEndian(extendedHeaders); 153frame.GoAwayLastStreamId = (int)Bitshifter.ReadUInt31BigEndian(extendedHeaders); 165frame.PriorityStreamDependency = (int)Bitshifter.ReadUInt31BigEndian(extendedHeaders); 184frame.WindowUpdateSizeIncrement = (int)Bitshifter.ReadUInt31BigEndian(extendedHeaders);