ZLibStream.Read Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Read(Span<Byte>) |
Reads a number of decompressed bytes into the specified byte span. |
Read(Byte[], Int32, Int32) |
Reads a number of decompressed bytes into the specified byte array. |
Read(Span<Byte>)
- Source:
- ZLibStream.cs
- Source:
- ZLibStream.cs
- Source:
- ZLibStream.cs
Reads a number of decompressed bytes into the specified byte span.
public:
override int Read(Span<System::Byte> buffer);
public override int Read (Span<byte> buffer);
override this.Read : Span<byte> -> int
Public Overrides Function Read (buffer As Span(Of Byte)) As Integer
Parameters
Returns
The number of bytes that were read into the byte span.
Applies to
Read(Byte[], Int32, Int32)
- Source:
- ZLibStream.cs
- Source:
- ZLibStream.cs
- Source:
- ZLibStream.cs
Reads a number of decompressed bytes into the specified byte array.
public:
override int Read(cli::array <System::Byte> ^ buffer, int offset, int count);
public override int Read (byte[] buffer, int offset, int count);
override this.Read : byte[] * int * int -> int
Public Overrides Function Read (buffer As Byte(), offset As Integer, count As Integer) As Integer
Parameters
- buffer
- Byte[]
The byte array to read the data into.
- offset
- Int32
The byte offset in array at which to begin reading data from the stream.
- count
- Int32
The maximum number of bytes to read.
Returns
The number of bytes that were read into the byte array.