@@ -401,6 +401,91 @@ durationAddUnit(b::FlatBuffers.Builder, unit::TimeUnit.T) =
401401 FlatBuffers. prependslot! (b, 0 , unit, 1 )
402402durationEnd (b:: FlatBuffers.Builder ) = FlatBuffers. endobject! (b)
403403
404+ # /// Contains two child arrays, run_ends and values.
405+ # /// The run_ends child array must be a 16/32/64-bit integer array
406+ # /// which encodes the indices at which the run with the value in
407+ # /// each corresponding index in the values child array ends.
408+ # /// Like list/struct types, the value array can be of any type.
409+ # table RunEndEncoded {
410+ # }
411+ struct RunEndEncoded <: FlatBuffers.Table
412+ bytes:: Vector{UInt8}
413+ pos:: Base.Int
414+ end
415+
416+ Base. propertynames (x:: RunEndEncoded ) = ()
417+
418+ runEndEncodedStart (b:: FlatBuffers.Builder ) = FlatBuffers. startobject! (b, 0 )
419+ runEndEncodedEnd (b:: FlatBuffers.Builder ) = FlatBuffers. endobject! (b)
420+
421+ # /// Logically the same as Binary, but the internal representation uses a view
422+ # /// struct that contains the string length and either the string's entire data
423+ # /// inline (for small strings) or an inlined prefix, an index of another buffer,
424+ # /// and an offset pointing to a slice in that buffer (for non-small strings).
425+ # ///
426+ # /// Since it uses a variable number of data buffers, each Field with this type
427+ # /// must have a corresponding entry in `variadicBufferCounts`.
428+ # table BinaryView {
429+ # }
430+ struct BinaryView <: FlatBuffers.Table
431+ bytes:: Vector{UInt8}
432+ pos:: Base.Int
433+ end
434+
435+ Base. propertynames (x:: BinaryView ) = ()
436+
437+ binaryViewStart (b:: FlatBuffers.Builder ) = FlatBuffers. startobject! (b, 0 )
438+ binaryViewEnd (b:: FlatBuffers.Builder ) = FlatBuffers. endobject! (b)
439+
440+ # /// Logically the same as Utf8, but the internal representation uses a view
441+ # /// struct that contains the string length and either the string's entire data
442+ # /// inline (for small strings) or an inlined prefix, an index of another buffer,
443+ # /// and an offset pointing to a slice in that buffer (for non-small strings).
444+ # ///
445+ # /// Since it uses a variable number of data buffers, each Field with this type
446+ # /// must have a corresponding entry in `variadicBufferCounts`.
447+ # table Utf8View {
448+ # }
449+ struct Utf8View <: FlatBuffers.Table
450+ bytes:: Vector{UInt8}
451+ pos:: Base.Int
452+ end
453+
454+ Base. propertynames (x:: Utf8View ) = ()
455+
456+ utf8ViewStart (b:: FlatBuffers.Builder ) = FlatBuffers. startobject! (b, 0 )
457+ utf8ViewEnd (b:: FlatBuffers.Builder ) = FlatBuffers. endobject! (b)
458+
459+ # /// Represents the same logical types that List can, but contains offsets and
460+ # /// sizes allowing for writes in any order and sharing of child values among
461+ # /// list values.
462+ # table ListView {
463+ # }
464+ struct ListView <: FlatBuffers.Table
465+ bytes:: Vector{UInt8}
466+ pos:: Base.Int
467+ end
468+
469+ Base. propertynames (x:: ListView ) = ()
470+
471+ listViewStart (b:: FlatBuffers.Builder ) = FlatBuffers. startobject! (b, 0 )
472+ listViewEnd (b:: FlatBuffers.Builder ) = FlatBuffers. endobject! (b)
473+
474+ # /// Represents the same logical types that LargeList can, but contains offsets
475+ # /// and sizes allowing for writes in any order and sharing of child values among
476+ # /// list values.
477+ # table LargeListView {
478+ # }
479+ struct LargeListView <: FlatBuffers.Table
480+ bytes:: Vector{UInt8}
481+ pos:: Base.Int
482+ end
483+
484+ Base. propertynames (x:: LargeListView ) = ()
485+
486+ largeListViewStart (b:: FlatBuffers.Builder ) = FlatBuffers. startobject! (b, 0 )
487+ largeListViewEnd (b:: FlatBuffers.Builder ) = FlatBuffers. endobject! (b)
488+
404489function Type (b:: UInt8 )
405490 b == 1 && return Null
406491 b == 2 && return Int
@@ -423,6 +508,11 @@ function Type(b::UInt8)
423508 b == 19 && return LargeBinary
424509 b == 20 && return LargeUtf8
425510 b == 21 && return LargeList
511+ b == 22 && return RunEndEncoded
512+ b == 23 && return BinaryView
513+ b == 24 && return Utf8View
514+ b == 25 && return ListView
515+ b == 26 && return LargeListView
426516 return nothing
427517end
428518
0 commit comments