read(_:)

    Read at most count bytes from the file; reads short if not enough bytes are available.

    BufferedReader.swift:78
    iOS
    13.0+
    macOS
    10.15+
    tvOS
    13.0+
    watchOS
    6.0+
    mutating func read(_ count: ByteCount) async throws -> ByteBuffer

    Parameters

    count

    The number of bytes to read.

    Returns

    The bytes read from the buffer.

    Other members in extension

    Instance members