Skip to content

[Swift] Loading unaligned flatbuffers objects #14

@mustiikhalil

Description

@mustiikhalil

Hello,

I'm the maintainer of the flatbuffers swift port, and we have a couple of changes within the pipeline google/flatbuffers#8484 (comment) that might be important for arrow.

TLDR: We refactored the implementation of a bytebuffer to directly read from [Data, UInt8, ContiguousBytes, pointers] aka without copying the data from those objects into our own internal storage. And we want to know if this will break anything, and if we need to return the flag allowReadingUnalignedObjects since in theory the first 4 bytes of the and byte buffer should be a valid root for a Flatbuffer object even if unaligned. One way to say that this byte buffer has a valid flat buffer object is to use the verifier before reading any data

Wasn't sure where to tag this, so sorry in advance

Component(s)

Swift

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