Skip to content

RillCompilerIntOps

extension RillCompilerIntOps on RillCompile<int>

Properties

toByteVector extension no setter

IO<ByteVector> get toByteVector

Available on RillCompile<O>, provided by the RillCompilerIntOps extension

Implementation
dart
IO<ByteVector> get toByteVector =>
    foldChunks(ByteVector.empty, (acc, chunk) => acc.concat(ByteVector.view(chunk.asUint8List)));