Closed
Description
Good afternoon,
Hope are are all doing well. I want to add swift-gRPC to Flatbuffers, however swift-gRPC is heavily coupled to swift-protobuf. Most of the methods are using protocol Message, and I would love to know the following:
- If there is a way to get to the underlying data that is storing the actual buffer? and would it be safe to access, or how can we just get an array of [UInt8]?
- Is there a way to bypass the following function decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws just to return our Buffer? or is there simply a way to just get the buffer from Message
note: in flatbuffers, it would be nice to get either the Data, or [UInt8]