Builds a byte object (java.lang.Byte).
1 byte
<byte />
Returns | |
---|---|
Type | Description |
Byte | If the received value is null, immediately it will return null as result. |
Exceptions
requires 1 values, received [...]
It has been specified an incorrect number of values.
Remarks
It accepts as value any type of integer convertible data which will be converted to a byte using the 0xff mask.
Example
Generate the byte 4.
Copy
<xsql-script name='byte_length_sample1'> <body> <println> <byte>4</byte> </println> </body> </xsql-script>
The value of the byte (4) is printed on the screen.
Copy
4