VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Codecs.ImageFiles Namespace / ImageFileSource Class / ReadBytes Methods / ReadBytes(Int32) Method
Syntax Requirements SeeAlso
In This Topic
ReadBytes(Int32) Method (ImageFileSource)
In This Topic
Reads count bytes from the stream of the image file into a byte array and advances the current position by count bytes.
Syntax
'Declaration

Public Overloads Function ReadBytes( _
ByVal count
The number of bytes to read.
As System.Int32 _
) As Byte[]
public byte[] ReadBytes(
System.Int32 count
)

Parameters

count
The number of bytes to read.

Return Value

A byte array containing data read from the stream of the image file. This might be less than the number of bytes requested if the end of the stream is reached.
Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also