Bytes.static


Description:

public Bytes.static (uint8[]? data)

Creates a new Bytes from static data.

data must be static (ie: never modified or freed). It may be null if data.length is 0.

Parameters:

data

the data to be used for the bytes

size

the size of data

Returns:

a new Bytes