共用方式為


AssetManager.AssetInputStream.Read Method

Definition

Overloads

Read()
Read(Byte[])
Read(Byte[], Int32, Int32)

Read()

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

Returns

Attributes

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.

Applies to

Read(Byte[])

[Android.Runtime.Register("read", "([B)I", "")]
public override sealed int Read (byte[]? b);
[<Android.Runtime.Register("read", "([B)I", "")>]
override this.Read : byte[] -> int

Parameters

b
Byte[]

Returns

Attributes

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.

Applies to

Read(Byte[], Int32, Int32)

[Android.Runtime.Register("read", "([BII)I", "")]
public override sealed int Read (byte[]? b, int off, int len);
[<Android.Runtime.Register("read", "([BII)I", "")>]
override this.Read : byte[] * int * int -> int

Parameters

b
Byte[]
off
Int32
len
Int32

Returns

Attributes

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.

Applies to