mirror of
https://github.com/google/flatbuffers.git
synced 2026-07-05 05:27:03 +00:00
[Swift] Implements FlatbuffersVector which confirms to RandomAccessCollection (#8752)
* Implements FlatbuffersVector in swift Implements FlatbuffersVector which confirms to RandomAccessCollection, this would give us semi-native sugary syntax to all the arrays in swift port. This work will also be the foundation of using arrays in swift * Fix failing tests for Swift
This commit is contained in:
@@ -41,8 +41,8 @@ public struct VerifierOptions {
|
||||
maxDepth: UOffset = 64,
|
||||
maxTableCount: UOffset = 1_000_000,
|
||||
maxApparentSize: UOffset = 1 << 31,
|
||||
ignoreMissingNullTerminators: Bool = false
|
||||
) {
|
||||
ignoreMissingNullTerminators: Bool = false)
|
||||
{
|
||||
_maxDepth = maxDepth
|
||||
_maxTableCount = maxTableCount
|
||||
_maxApparentSize = maxApparentSize
|
||||
|
||||
Reference in New Issue
Block a user