<itemvalue="Get the bytes from the image. You can use this to access the color channels directly, or to pass it to something like an Html canvas context. Specifying the [format] will convert the image data to the specified format. Images are stored internally in Format.rgba format; any other format will require a conversion. For example, given an Html Canvas, you could draw this image into the canvas: Html.ImageData d = context2D.createImageData(image.width, image.height); d.data.setRange(0, image.length, image.getBytes(format: Format.rgba)); context2D.putImageData(data, 0, 0);"/>
<itemvalue="Malformed"/>
<itemvalue="The argument [timeout] is used to specify the maximum allowed time to wait for a connection to be established. If [timeout] is longer than the system level timeout duration, a timeout may occur sooner than specified in [timeout]. On timeout, a [SocketException] is thrown and all ongoing connection attempts to [host] are cancelled."/>
<itemvalue="The [sourcePort] defines the local port to bind to. If [sourcePort] is not specified or zero, a port will be chosen."/>
<itemvalue="The argument [sourceAddress] can be used to specify the local address to bind when making the connection. The [sourceAddress] can either be a [String] or an [InternetAddress]. If a [String] is passed it must hold a numeric IP address."/>