Skip to content

Parsing Schemas #136

@devinrsmith

Description

@devinrsmith

I'm trying to use tooling to parse the code-generated Schemas in java (the org.capnproto.SegmentReader fields w/ hex names under the nested Schemas class).

I assumed the struct would be Node from https://github.com/capnproto/capnproto/blob/v1.0.1/c%2B%2B/src/capnp/schema.capnp, but that structure doesn't seem to parse correctly (tried both org.capnproto.Serialize and org.capnproto.SerializePacked).

Is there a different schema that is necessary to parse these fields? Or a different way to decode these bytes in java?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions