Get or set the item at the specified index. Negative indexes are not supported
Create a new DynamicBytes instance
Optional
value: string | bytesThe bytes or utf8 interpreted string to initialize this type
Retrieve the encoded bytes for this type
Returns the current length of this array
Get the native bytes value (excludes the length prefix)
Returns an iterator for the items in this array
Returns the item at the given index. Negative indexes are taken from the end.
The index of the item to retrieve
Returns a dynamic bytes object containing all bytes from this and other
Another array of bytes to concat with this one
Returns an iterator for a tuple of the indexes and items in this array
Returns an iterator for the indexes in this array
Internal
Create a new DynamicArray with all items up till end
.
Negative indexes are taken from the end.
An index in which to stop copying items.
Internal
Create a new DynamicArray with items from start
, up until end
Negative indexes are taken from the end.
An index in which to start copying items.
An index in which to stop copying items
A variable length sequence of bytes prefixed with its length expressed as a 2 byte uint