Open
Description
What language does this apply to?
C#
Describe the problem you are trying to solve.
WriteDelimitedTo(Stream) but for IBufferWriter<byte>
.
My exact use-case is writing the Prometheus metrics protobuf, it expects the length of the data before the proto.
Describe the solution you'd like
Add
public static class MessageExtensions
{
public static void WriteDelimitedTo(this IMessage message, IBufferWriter<byte> output)
{
}
}
Describe alternatives you've considered
I haven't found a work-around yet.