using System; using System.Collections.Generic; namespace Capnp { /// /// Represents a Cap'n Proto message. Actually a lightweight wrapper struct around a read-only list of memory segments. /// public struct WireFrame { /// /// The message segments /// public readonly IReadOnlyList> Segments; /// /// Constructs a message from a list of segments. /// public WireFrame(IReadOnlyList> segments) { Segments = segments; } } }