Module xl.core

Interface VoidToByteGenerator

All Known Implementing Classes:
ByteList, ByteSynth

public interface VoidToByteGenerator
Instances of VoidToByteGenerator represent generator functions which take voids as input and yield sequences of values of type byte. Such instances are created by lambda expressions of the XL programming language, e.g., VoidToByteGenerator f = void => byte* some generator expression;.
Author:
Ole Kniemeyer
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Generates the sequence of values.
  • Method Details

    • evaluateByte

      void evaluateByte(ByteConsumer cons)
      Generates the sequence of values.
      Parameters:
      cons - each value is yielded to this consumer