Fully qualified path: alexandria_bytes ::bytes
BYTES_PER_ELEMENT Bytes is a dynamic array of u128, where each element contains 16 bytes.
Bytes Note that: In Bytes, there are many variables about size and length. We use size to represent the number of bytes in Bytes. We use length to represent the number of elements in Bytes….
BytesIndex Implementation of IndexView trait for Bytes. Allows indexing into the Bytes structure to access individual u128 elements.
ByteArrayIntoBytes Implementation for converting a ByteArray to a Bytes struct This conversion creates a new Bytes structure from a ByteArray by iterating…
BytesIntoByteArray Implementation for converting a Bytes struct to a ByteArray This conversion efficiently transfers data from a Bytes structure to a ByteArray…