Skip to content

Missing API: buffer builders #168

Open
@SPC-code

Description

@SPC-code

It is important to be able to construct buffer-like object with builder. In the ktor-io it was ByteReadPacked{}. Here, I suggest this:

fun Buffer(block: Sink.() -> Unit): Buffer

Probably possible to make it inline.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions