Module light_utils::offset

source ·

Functions§

  • Casts a part of provided bytes buffer with the given offset to a mutable pointer to T.
  • Creates a BoundedVec from the sequence of values provided in bytes buffer.
  • Creates a CyclicBoundedVec from the sequence of values provided in bytes buffer.
  • Casts a part of provided bytes buffer with the given offset to a mutable pointer to T.
  • Creates a copy of value of type T based on the provided bytes buffer.
  • Writes provided data into provided bytes buffer with the given offset.