44 references to ReadBytes
mscorlib (6)
system\resources\resourcereader.cs (3)
750return _store.ReadBytes(len); 769byte[] bytes = _store.ReadBytes(len); 1238byte[] bytes = _store.ReadBytes(len);
system\runtime\serialization\formatters\binary\binaryparser.cs (1)
289return dataReader.ReadBytes(length);
system\security\claims\Claim.cs (1)
484m_userSerializationData = reader.ReadBytes(cb);
system\security\claims\ClaimsPrincipal.cs (1)
812m_userSerializationData = reader.ReadBytes(cb);
PresentationCore (3)
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\CustomAttributeSerializer.cs (2)
603return br.ReadBytes((int)(memStream.Length - previouslyReadBytes)); 723byte[] bytestring = br.ReadBytes((int)memStream.Length);
Core\CSharp\System\Windows\Input\Cursor.cs (1)
272byte[] cursorData = reader.ReadBytes(BUFFERSIZE);
PresentationFramework (6)
src\Framework\System\Windows\Markup\Baml2006\Baml2006Reader.cs (5)
948binaryData = new MemoryStream(_binaryReader.ReadBytes(contentSize)); 1131byte[] 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)
25byte[] bytes = reader.ReadBytes(dataByteSize);
System.Activities (3)
System\Activities\Debugger\Symbol\ActivitySymbol.cs (1)
70this.QualifiedId = reader.ReadBytes(qidLength);
System\Activities\Debugger\Symbol\WorkflowSymbol.cs (2)
75checksum = reader.ReadBytes(bytesCount); 82return ParseBinary(reader.ReadBytes(payloadBytesCount), checksum); // Compute the
System.AddIn (1)
System\Addin\MiniReflection\MetadataReader\PEFileReader.cs (1)
170return Encoder.GetString(B.ReadBytes((Int32) NChars));
System.IdentityModel (3)
System\IdentityModel\RsaEncryptionCookieTransform.cs (3)
170rsaHash = br.ReadBytes(hashSizeInBytes); 184encryptedKeyAndIV = br.ReadBytes(encryptedKeyAndIVSize); 199encryptedData = br.ReadBytes(encryptedDataSize);
System.Transactions (1)
System\Transactions\TransactionManager.cs (1)
228resourceManagerRecoveryInformation = reader.ReadBytes( recoveryInformation.Length - checked((int)stream.Position) );
System.Web (4)
Security\FormsAuthenticationTicketSerializer.cs (1)
234byte[] bytes = ReadBytes(charCount * 2);
UI\EventValidationStore.cs (1)
86byte[] entry = reader.ReadBytes(HASH_SIZE_IN_BYTES);
UI\WebControls\FileUpload.cs (1)
83completeImage = reader.ReadBytes(fileStreamIntLength);
Util\altserialization.cs (1)
244byte[] 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)
6770buffer = br.ReadBytes(length); 6778buffer = 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)
265padding = reader.ReadBytes(padLength);
Base\MS\Internal\IO\Packaging\CompoundFile\RightsManagementEncryptionTransform.cs (2)
1292byte[] bytes = reader.ReadBytes(length); 1324byte[] bytes = reader.ReadBytes(CU.Int32Size - extra);
Base\MS\Internal\IO\Zip\ZipIOCentralDirectoryFileHeader.cs (2)
78header._fileName = reader.ReadBytes(header._fileNameLength); 107header._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)
76byte[] sniffedBytes = reader.ReadBytes(ZipIOExtraFieldPaddingElement.SignatureSize); 104_data = reader.ReadBytes(size);
Base\MS\Internal\IO\Zip\ZipIOLocalFileHeader.cs (1)
113header._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); 1232extraData = definitionReader.ReadBytes(extraDataSize); 1361byte[] extraData = definitionReader.ReadBytes(extraDataSize);