open static fun of(vararg bytes: Byte): Bytes!
(source)
Create a value that contains the specified bytes in their specified order.
bytes
- Byte: The bytes that must compose the returned value.
Return
Bytes!: A value containing the specified bytes.
open static fun of(vararg bytes: Int): Bytes!
(source)
Create a value that contains the specified bytes in their specified order.
IllegalArgumentException
- if any of the specified would be truncated when storing as a byte.
Return
Bytes!: A value containing bytes are the one from bytes
.