mirror of
https://github.com/google/flatbuffers.git
synced 2026-07-01 09:51:37 +00:00
bulk code format fix (#8707)
This commit is contained in:
@@ -14,18 +14,20 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#if canImport(Common)
|
||||
import Common
|
||||
#endif
|
||||
import Foundation
|
||||
|
||||
#if canImport(Common)
|
||||
import Common
|
||||
#endif
|
||||
|
||||
/// Type aliases
|
||||
public typealias Byte = UInt8
|
||||
public typealias UOffset = UInt32
|
||||
public typealias SOffset = Int32
|
||||
public typealias VOffset = UInt16
|
||||
/// Maximum size for a buffer
|
||||
public let FlatBufferMaxSize = UInt32
|
||||
public let FlatBufferMaxSize =
|
||||
UInt32
|
||||
.max << ((MemoryLayout<SOffset>.size * 8 - 1) - 1)
|
||||
|
||||
/// Protocol that All Scalars should conform to
|
||||
|
||||
Reference in New Issue
Block a user