encode(_:into:)

    Writes a JSON-encoded representation of the value you supply into the supplied ByteBuffer.

    Codable+ByteBuffer.swift:137
    func encode<T>(_ value: T, into buffer: inout ByteBuffer) throws where T : Encodable

    Parameters

    value

    The value to encode as JSON.

    buffer

    The ByteBuffer to encode into.

    Other members in extension

    Instance members