ContentLengthInputStream.Read Method

Definition

Reads the next byte, stopping at the configured content length.

[Android.Runtime.Register("read", "()I", "GetReadHandler")]
public override int Read();
[<Android.Runtime.Register("read", "()I", "GetReadHandler")>]
override this.Read : unit -> int

Returns

The next byte as a value from 0 through 255, or -1 when the content length is reached or the underlying input ends.

Attributes

Remarks

Portions of this page are based on work created and shared by the Apache Software Foundation and used under the terms of the Apache License, Version 2.0.

Applies to