ByteArray before invoking write-to-byte-array.| byte-size -> int | The amount of bytes that can be produced. |
|---|---|
| byte-slice from/int to/int -> Data | Returns a slice of this data. |
| byte-at index/int -> int | Returns the byte at the given index. |
| write-to-byte-array byte-array/ByteArray --at/int from/int to/int -> none | Copies the bytes in the range from-to into the given byte-array at the position at. |
bytes-size where bytes-size is the size of the given byte-array. It may only be equal to the size if from == to.