mirror of
https://github.com/google/flatbuffers.git
synced 2026-07-02 17:28:19 +00:00
[Swift] Moves capacity outside of Storage (#8650)
- Cleans up capacity usage within the lib and moves it outside of the Storage - Use overflow operators
This commit is contained in:
@@ -42,7 +42,7 @@ final class ByteBufferTests: XCTestCase {
|
||||
let byteBuffer = ByteBuffer(data: ptr)
|
||||
byteBuffer.withUnsafeBytes { memory in
|
||||
ptr.withUnsafeBytes { ptr in
|
||||
XCTAssertEqual(memory.baseAddress!, ptr)
|
||||
XCTAssertEqual(memory.baseAddress!, ptr.baseAddress!)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user