29 references to HeaderEncoding
System (29)
net\System\Net\_Connection.cs (3)
1769
WebHeaderCollection.
HeaderEncoding
.GetString(
2065
string s = WebHeaderCollection.
HeaderEncoding
.GetString(byteBuffer + beginning, bytesParsed - beginning);
2077
string s = WebHeaderCollection.
HeaderEncoding
.GetString(byteBuffer + beginning, bytesParsed - beginning);
net\System\Net\_NTAuthentication.cs (6)
806
list.Add(new SecurityBuffer(WebHeaderCollection.
HeaderEncoding
.GetBytes(incomingBlob), BufferType.Token));
807
list.Add(new SecurityBuffer(WebHeaderCollection.
HeaderEncoding
.GetBytes(requestMethod), BufferType.Parameters));
854
list.Add(incomingBlob == null ? new SecurityBuffer(0, BufferType.Token) : new SecurityBuffer(WebHeaderCollection.
HeaderEncoding
.GetBytes(incomingBlob), BufferType.Token));
855
list.Add(requestMethod == null ? new SecurityBuffer(0, BufferType.Parameters) : new SecurityBuffer(WebHeaderCollection.
HeaderEncoding
.GetBytes(requestMethod), BufferType.Parameters));
856
list.Add(requestedUri == null ? new SecurityBuffer(0, BufferType.Parameters) : new SecurityBuffer(WebHeaderCollection.
HeaderEncoding
.GetBytes(requestedUri), BufferType.Parameters));
941
outgoingBlob = WebHeaderCollection.
HeaderEncoding
.GetString(decodedOutgoingBlob, 0, outSecurityBuffer.size);
net\System\Net\HttpListener.cs (1)
1750
inBlob = WebHeaderCollection.
HeaderEncoding
.GetString(bytes, 0, bytes.Length);
net\System\Net\HttpListenerResponse.cs (8)
524
byte[] statusDescriptionBytes = new byte[WebHeaderCollection.
HeaderEncoding
.GetByteCount(StatusDescription)];
527
WebHeaderCollection.
HeaderEncoding
.GetBytes(StatusDescription, 0, statusDescriptionBytes.Length, statusDescriptionBytes, 0);
819
bytes = new byte[WebHeaderCollection.
HeaderEncoding
.GetByteCount(headerName)];
821
WebHeaderCollection.
HeaderEncoding
.GetBytes(headerName, 0, bytes.Length, bytes, 0);
828
bytes = new byte[WebHeaderCollection.
HeaderEncoding
.GetByteCount(headerValue)];
830
WebHeaderCollection.
HeaderEncoding
.GetBytes(headerValue, 0, bytes.Length, bytes, 0);
842
bytes = new byte[WebHeaderCollection.
HeaderEncoding
.GetByteCount(headerValue)];
844
WebHeaderCollection.
HeaderEncoding
.GetBytes(headerValue, 0, bytes.Length, bytes, 0);
net\System\Net\HttpWebRequest.cs (3)
4968
string host = WebHeaderCollection.
HeaderEncoding
.GetString(hhs.Bytes, 0, hhs.ByteCount);
5080
int requestHeadersSize = WebHeaderCollection.
HeaderEncoding
.GetByteCount(requestHeadersString);
5109
WebHeaderCollection.
HeaderEncoding
.GetBytes(requestHeadersString, 0, requestHeadersString.Length, WriteBuffer, offset);
net\System\Net\Logging.cs (1)
602
string output = "<<" + WebHeaderCollection.
HeaderEncoding
.GetString(buffer, offset, length) + ">>";
net\System\Net\WebHeaderCollection.cs (7)
175
return
HeaderEncoding
.DecodeUtf8FromString(location);
955
byte[] buffer =
HeaderEncoding
.GetBytes(tempStr);
1452
headerValue =
HeaderEncoding
.GetString(byteBuffer + headerValueStartOffset, headerValueEndOffset - headerValueStartOffset + 1);
1483
headerName =
HeaderEncoding
.GetString(byteBuffer + headerNameStartOffset, headerNameEndOffset - headerNameStartOffset + 1);
1731
string s =
HeaderEncoding
.GetString(byteBuffer + iBeginValue, iEndValue - iBeginValue + 1);
1762
string sValue = iBeginValue == -1 ? "" :
HeaderEncoding
.GetString(byteBuffer + iBeginValue, iEndValue - iBeginValue + 1);
1828
sName =
HeaderEncoding
.GetString(byteBuffer + iBeginName, headerNameLength);