byteCol
The byteCol method creates a column containing Java primitive byte values.
Note
This method is commonly used with newTable to create tables.
Syntax
byteCol(name, data...)
Parameters
| Parameter | Type | Description |
|---|---|---|
| name | String | The name of the new column. |
| data | byte... | The column values. |
Returns
A ColumnHolder.
Example
The following examples use newTable to create a table with a single column of bytes named Bytes.
result = newTable(
byteCol("Bytes", (byte)1, (byte)2, (byte)3, (byte)4)
)