Language

OutputStreamAdapter.Write Method

Definition

Overloads

Name Description
Write(Byte[])

Writes the contents of an array to the underlying stream.

Write(Int32)

Converts the value to a byte and writes it to the underlying stream.

Write(Byte[], Int32, Int32)

Writes part of an array to the underlying stream.

Write(Byte[])

Writes the contents of an array to the underlying stream.

public override void Write(byte[]? buffer);
override this.Write : byte[] -> unit

Parameters

buffer
Byte[]

The bytes to write. This value cannot be null.

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

Write(Int32)

Converts the value to a byte and writes it to the underlying stream.

public override void Write(int oneByte);
override this.Write : int -> unit

Parameters

oneByte
Int32

The integer value to convert to a byte.

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

Write(Byte[], Int32, Int32)

Writes part of an array to the underlying stream.

public override void Write(byte[]? buffer, int offset, int length);
override this.Write : byte[] * int * int -> unit

Parameters

buffer
Byte[]

The array that contains the bytes to write. It cannot be null.

offset
Int32

The index in buffer of the first byte to write.

length
Int32

The number of bytes to write.

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