Updateable

public protocol Updateable

A protocol for calculations that can be updated with incremental data buffers.

  • Status of the calculation.

    Declaration

    Swift

    var status : Status { get }
  • Low-level update routine. Updates the calculation with the contents of a data buffer. - parameter buffer: pointer to the data buffer - parameter byteCount: length of the buffer in bytes - returns: self if no error for optional chaining, null otherwise

    Declaration

    Swift

    func update(buffer : UnsafePointer<Void>, _ byteCount : size_t) -> Self?

    Parameters

    buffer

    pointer to the data buffer

    byteCount

    length of the buffer in bytes

    Return Value

    self if no error for optional chaining, null otherwise