44 references to ReadBytes
mscorlib (6)
system\resources\resourcereader.cs (3)
750
return _store.
ReadBytes
(len);
769
byte[] bytes = _store.
ReadBytes
(len);
1238
byte[] bytes = _store.
ReadBytes
(len);
system\runtime\serialization\formatters\binary\binaryparser.cs (1)
289
return dataReader.
ReadBytes
(length);
system\security\claims\Claim.cs (1)
484
m_userSerializationData = reader.
ReadBytes
(cb);
system\security\claims\ClaimsPrincipal.cs (1)
812
m_userSerializationData = reader.
ReadBytes
(cb);
PresentationCore (3)
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\CustomAttributeSerializer.cs (2)
603
return br.
ReadBytes
((int)(memStream.Length - previouslyReadBytes));
723
byte[] bytestring = br.
ReadBytes
((int)memStream.Length);
Core\CSharp\System\Windows\Input\Cursor.cs (1)
272
byte[] cursorData = reader.
ReadBytes
(BUFFERSIZE);
PresentationFramework (6)
src\Framework\System\Windows\Markup\Baml2006\Baml2006Reader.cs (5)
948
binaryData = new MemoryStream(_binaryReader.
ReadBytes
(contentSize));
1131
byte[] headerString = _binaryReader.
ReadBytes
(stringLength);
1528
_xamlNodesWriter.WriteValue(GetTextFromBinary(_binaryReader.
ReadBytes
(recordSize - 5),
1546
_xamlNodesWriter.WriteValue(converter.ConvertFrom(_binaryReader.
ReadBytes
(dataByteSize)));
1550
_xamlNodesWriter.WriteValue((_binaryReader.
ReadBytes
(1)[0] == 0) ? false : true);
src\Framework\System\Windows\Markup\Baml2006\DeferredBinaryDeserializerExtension.cs (1)
25
byte[] bytes = reader.
ReadBytes
(dataByteSize);
System.Activities (3)
System\Activities\Debugger\Symbol\ActivitySymbol.cs (1)
70
this.QualifiedId = reader.
ReadBytes
(qidLength);
System\Activities\Debugger\Symbol\WorkflowSymbol.cs (2)
75
checksum = reader.
ReadBytes
(bytesCount);
82
return ParseBinary(reader.
ReadBytes
(payloadBytesCount), checksum); // Compute the
System.AddIn (1)
System\Addin\MiniReflection\MetadataReader\PEFileReader.cs (1)
170
return Encoder.GetString(B.
ReadBytes
((Int32) NChars));
System.IdentityModel (3)
System\IdentityModel\RsaEncryptionCookieTransform.cs (3)
170
rsaHash = br.
ReadBytes
(hashSizeInBytes);
184
encryptedKeyAndIV = br.
ReadBytes
(encryptedKeyAndIVSize);
199
encryptedData = br.
ReadBytes
(encryptedDataSize);
System.Transactions (1)
System\Transactions\TransactionManager.cs (1)
228
resourceManagerRecoveryInformation = reader.
ReadBytes
( recoveryInformation.Length - checked((int)stream.Position) );
System.Web (4)
Security\FormsAuthenticationTicketSerializer.cs (1)
234
byte[] bytes =
ReadBytes
(charCount * 2);
UI\EventValidationStore.cs (1)
86
byte[] entry = reader.
ReadBytes
(HASH_SIZE_IN_BYTES);
UI\WebControls\FileUpload.cs (1)
83
completeImage = reader.
ReadBytes
(fileStreamIntLength);
Util\altserialization.cs (1)
244
byte[] bits = reader.
ReadBytes
(16);
System.Web.DataVisualization (1)
Common\Utilities\XmlSerializer.cs (1)
3190
imageStream.Write(reader.
ReadBytes
(imageSize), 0, imageSize);
System.Windows.Forms (2)
winforms\Managed\System\WinForms\AxHost.cs (2)
6770
buffer = br.
ReadBytes
(length);
6778
buffer = br.
ReadBytes
(length);
System.Windows.Forms.DataVisualization (1)
Common\Utilities\XmlSerializer.cs (1)
3190
imageStream.Write(reader.
ReadBytes
(imageSize), 0, imageSize);
WindowsBase (13)
Base\MS\Internal\IO\Packaging\CompoundFile\ContainerUtilities.cs (1)
265
padding = reader.
ReadBytes
(padLength);
Base\MS\Internal\IO\Packaging\CompoundFile\RightsManagementEncryptionTransform.cs (2)
1292
byte[] bytes = reader.
ReadBytes
(length);
1324
byte[] bytes = reader.
ReadBytes
(CU.Int32Size - extra);
Base\MS\Internal\IO\Zip\ZipIOCentralDirectoryFileHeader.cs (2)
78
header._fileName = reader.
ReadBytes
(header._fileNameLength);
107
header._fileComment = reader.
ReadBytes
(header._fileCommentLength);
Base\MS\Internal\IO\Zip\ZipIOEndOfCentralDirectoryBlock.cs (1)
388
_zipFileComment = reader.
ReadBytes
(_zipFileCommentLength);
Base\MS\Internal\IO\Zip\ZipIOExtraFieldElement.cs (2)
76
byte[] sniffedBytes = reader.
ReadBytes
(ZipIOExtraFieldPaddingElement.SignatureSize);
104
_data = reader.
ReadBytes
(size);
Base\MS\Internal\IO\Zip\ZipIOLocalFileHeader.cs (1)
113
header._fileName = reader.
ReadBytes
(header._fileNameLength);
Base\MS\Internal\IO\Zip\ZipIOZip64EndOfCentralDirectoryBlock.cs (1)
288
_zip64ExtensibleDataSector = reader.
ReadBytes
((int)(_sizeOfZip64EndOfCentralDirectory -_fixedMinimalValueOfSizeOfZip64EOCD));
Base\System\IO\Packaging\CompoundFile\DataSpaceManager.cs (3)
1076
_mapTableHeaderPreservation = dataSpaceMapReader.
ReadBytes
(extraDataSize);
1232
extraData = definitionReader.
ReadBytes
(extraDataSize);
1361
byte[] extraData = definitionReader.
ReadBytes
(extraDataSize);