Small fix for the clear function
FlatBuffers swift can be found in both SPM
-`.package(url: "https://github.com/mustiikhalil/flatbuffers.git", .branch("swift"))`
+`.package(url: "https://github.com/mustiikhalil/flatbuffers.git", from: "X.Y.Z"),`
+
+tags are provided in the repository, so you can select according to the version you want.
and Cocoapods
mutating public func clear() {
_minAlignment = 0
isNested = false
- _bb.clear()
stringOffsetMap = [:]
+ _vtable = []
+ _vtables = []
+ _bb.clear()
}
/// Removes all the offsets from the VTable