read(until:throwOnOverflow:)

    Read from buffer until we hit a character. Position after this is of the character we were checking for

    HBParser.swift:150
    @discardableResult mutating func read(until: Unicode.Scalar, throwOnOverflow: Bool = true) throws -> Parser

    Parameters

    until

    Unicode.Scalar to read until

    Returns

    String read from buffer

    Throws

    .overflow if we hit the end of the buffer before reading character

    Other members in extension

    Types

    Typealiases

    Type members

    Instance members