put_uint16


Description:

public bool put_uint16 (uint16 data, Cancellable? cancellable = null) throws IOError

Puts an unsigned 16-bit integer into the output stream.

Parameters:

this

a DataOutputStream.

data

a uint16.

cancellable

optional Cancellable object, null to ignore.

Returns:

true if data was successfully added to the this.