InputStreamInvoker.Read(Byte[], Int32, Int32) 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.
Reads bytes from the underlying Java input stream.
public override int Read(byte[] buffer, int offset, int count);
override this.Read : byte[] * int * int -> int
Parameters
- buffer
- Byte[]
The array that receives the data.
- offset
- Int32
The index in buffer at which to start storing data.
- count
- Int32
The maximum number of bytes to request.
Returns
The result returned by the Java stream, except that -1 is converted to 0.
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.