jamescourtney / FlatSharp

Fast, idiomatic C# implementation of Flatbuffers
Apache License 2.0
497 stars 50 forks source link

Experiment: IVector for fs_vector, making use of FlatSharp.Unsafe #204

Closed TYoung86 closed 3 years ago

TYoung86 commented 3 years ago

Implement IVector.

Extend FlatBufferVector to implement IVector.

Add unsafe creation of FlatBufferVector to FlatSharp.Unsafe.

Has post-generation compile time warnings when FlatSharp.Unsafe is required.

Probably has all sorts of problems.

Gives direct access to backing memory for struct vectors, as has been already done elsewhere.

TYoung86 commented 3 years ago

Wrong account, my bad.