6 overrides of GetBytes
mscorlib (6)
system\text\asciiencoding.cs (1)
131
public override unsafe int
GetBytes
(String chars, int charIndex, int charCount,
system\text\encodingnls.cs (1)
113
public override unsafe int
GetBytes
(String s, int charIndex, int charCount,
system\text\unicodeencoding.cs (1)
168
public override unsafe int
GetBytes
(String s, int charIndex, int charCount,
system\text\utf32encoding.cs (1)
171
public override unsafe int
GetBytes
(String s, int charIndex, int charCount,
system\text\utf7encoding.cs (1)
238
public override unsafe int
GetBytes
(String s, int charIndex, int charCount,
system\text\utf8encoding.cs (1)
200
public override unsafe int
GetBytes
(String s, int charIndex, int charCount,
36 references to GetBytes
mscorlib (5)
System\Diagnostics\Eventing\TraceLogging\FieldMetadata.cs (1)
177
Encoding.UTF8.
GetBytes
(this.name, 0, this.name.Length, metadata, pos);
System\Diagnostics\Eventing\TraceLogging\Statics.cs (1)
94
Encoding.UTF8.
GetBytes
(name, 0, name.Length, metadata, 2 + prefixSize);
system\io\binarywriter.cs (1)
371
_encoding.
GetBytes
(value, 0, value.Length, _largeByteBuffer, 0);
system\security\principal\windowsidentity.cs (1)
1034
Encoding.ASCII.
GetBytes
(Win32Native.MICROSOFT_KERBEROS_NAME, 0, Win32Native.MICROSOFT_KERBEROS_NAME.Length, arrayPackageName, 0);
system\text\encoding.cs (1)
1070
int bytesReceived =
GetBytes
(s, 0, s.Length, bytes, 0);
PresentationFramework (1)
src\Framework\System\Windows\Documents\RtfToXamlReader.cs (1)
3452
int cb = e.
GetBytes
(Name, 0, Name.Length, rgBytes, 0);
System (13)
net\System\Net\HttpWebRequest.cs (10)
4698
offset = Encoding.ASCII.
GetBytes
(CurrentMethod.Name, 0, CurrentMethod.Name.Length, WriteBuffer, 0);
4796
offset = Encoding.ASCII.
GetBytes
(CurrentMethod.Name, 0, CurrentMethod.Name.Length, WriteBuffer, 0);
4798
offset += Encoding.ASCII.
GetBytes
(scheme, 0, scheme.Length, WriteBuffer, offset);
4801
offset += Encoding.ASCII.
GetBytes
(path, 0, path.Length, WriteBuffer, offset);
4862
offset = Encoding.ASCII.
GetBytes
(CurrentMethod.Name, 0, CurrentMethod.Name.Length, WriteBuffer, 0);
4864
offset += Encoding.ASCII.
GetBytes
(scheme, 0, scheme.Length, WriteBuffer, offset);
4865
offset += Encoding.ASCII.
GetBytes
(userInfo, 0, userInfo.Length, WriteBuffer, offset);
4868
offset += Encoding.ASCII.
GetBytes
(path, 0, path.Length, WriteBuffer, offset);
4900
offset = Encoding.ASCII.
GetBytes
(CurrentMethod.Name, 0, CurrentMethod.Name.Length, WriteBuffer, 0);
4902
offset += Encoding.ASCII.
GetBytes
(pathAndQuery, 0, pathAndQuery.Length, WriteBuffer, offset);
security\system\security\cryptography\x509\x509extension.cs (1)
497
Encoding.ASCII.
GetBytes
(objId, 0, objId.Length, szObjId, 0);
security\system\security\cryptography\x509\x509utils.cs (2)
317
Encoding.ASCII.
GetBytes
(s, 0, s.Length, arr, 0);
328
Encoding.Unicode.
GetBytes
(s, 0, s.Length, arr, 0);
System.Core (1)
System\Security\Cryptography\CapiNative.cs (1)
1026
Encoding.ASCII.
GetBytes
(s, 0, s.Length, arr, 0);
System.Data (1)
fx\src\data\Microsoft\SqlServer\Server\SqlRecordBuffer.cs (1)
496
System.Text.Encoding.Unicode.
GetBytes
(value, 0, value.Length, bytes, 2);
System.Data.Entity (1)
System\Data\Mapping\MetadataMappingHasherVisitor.HashSourceBuilder.cs (1)
161
start += Encoding.Unicode.
GetBytes
(s, 0, s.Length, _cachedBuffer, start);
System.Data.SqlXml (1)
System\Xml\Xsl\XsltOld\SequentialOutput.cs (1)
543
int bytes = this.utf8Encoding.
GetBytes
(value, i - 1, 1, this.byteBuffer, 0);
System.IdentityModel (1)
System\IdentityModel\SspiSafeHandles.cs (1)
1415
Encoding.Unicode.
GetBytes
(s, 0, s.Length, bytes, 0);
System.Runtime.Serialization (3)
System\Xml\XmlC14NWriter.cs (2)
387
xmlnsAttribute.prefixLength = Encoding.UTF8.
GetBytes
(prefix, 0, prefix.Length, xmlnsBuffer, xmlnsOffset);
390
xmlnsAttribute.nsLength = Encoding.UTF8.
GetBytes
(ns, 0, ns.Length, xmlnsBuffer, xmlnsOffset);
System\Xml\XmlMtomWriter.cs (1)
1014
Encoding.ASCII.
GetBytes
(boundary, 0, boundary.Length, boundaryBytes, MimeGlobals.BoundaryPrefix.Length);
System.Security (3)
system\security\cryptography\pkcs\pkcsutils.cs (2)
437
Encoding.Unicode.
GetBytes
(octetString, 0, octetString.Length, octets, 0);
667
Encoding.ASCII.
GetBytes
(attribute.Oid.Value, 0, attribute.Oid.Value.Length, objId, 0);
system\security\cryptography\x509\x509utils.cs (1)
129
Encoding.ASCII.
GetBytes
(s, 0, s.Length, arr, 0);
System.ServiceModel (2)
System\ServiceModel\Channels\BinaryMessageEncoder.cs (1)
520
offset += Encoding.UTF8.
GetBytes
(newString, 0, newString.Length, buffer, offset);
System\ServiceModel\Channels\FramingEncoders.cs (1)
61
Encoding.UTF8.
GetBytes
(value, 0, value.Length, encodedBytes, offset);
System.ServiceModel.Activation (1)
System\ServiceModel\Activation\Interop\SafeHGlobalHandleCritical.cs (1)
47
Encoding.Unicode.
GetBytes
(s, 0, s.Length, bytes, 0);
System.Web (2)
UI\ObjectStateFormatter.cs (1)
229
Encoding.Unicode.
GetBytes
(viewStateUserKey, 0, viewStateUserKey.Length, _macKeyBytes, 4);
Util\StringUtil.cs (1)
329
return enc.
GetBytes
(s, 0, s.Length, bytes, 0);
System.Web.Mobile (1)
UI\MobileControls\MobilePage.cs (1)
1461
Encoding.Unicode.
GetBytes
(ViewStateUserKey,0, ViewStateUserKey.Length, macKeyModifier, 4);