Skip to content

Add support for Flatbuffers #708

Closed
Closed
@mustiikhalil

Description

@mustiikhalil

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]

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/enhancementImprovements to existing feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions