poke package:streamly-core

Unbox a Haskell type and append the resulting bytes to a mutable byte array. The array is grown exponentially when more space is needed. Like snoc except that the value is unboxed to the byte array. Note: If you are serializing a large number of small fields, and the types are statically known, then it may be more efficient to declare a record of those fields and derive an Unbox instance of the entire record.
pokeAt byte-offset array writes an element of type a to the given byte offset in the array. IMPORTANT: The implementation of this interface may not check the bounds of the array, the caller must not assume that.
Deprecated: Use pokeAt.
Deprecated: Please use poke instead.
Deprecated: Please use pokeMay instead.
Like poke but does not grow the array when pre-allocated array capacity becomes full. Internal
Deprecated: Please use unsafePokeSkip instead.
Skip the specified number of bytes in the array. The data in the skipped region remains uninitialzed.