Comments (4)
We should also upgrade some of the Int
types that express file sizes to Int64
so 4GB+ sizes can actually be supported on 32bit systems. I think this only affects the byteCount
parameter of readChunked
. This can be done separately and will need to preserver and deprecate the old function signatures. Note that offset
is already Int64
.
from swift-nio.
We should also upgrade some of the
Int
types that express file sizes toInt64
so 4GB+ sizes can actually be supported on 32bit systems. I think this only affects thebyteCount
parameter ofreadChunked
. This can be done separately and will need to preserver and deprecate the old function signatures. Note thatoffset
is alreadyInt64
.
We don't need > 32 bit chunks. Reasonable chunk sizes are in kiB or MiB
from swift-nio.
Agree but I'm talking about the byteCount
parameter, not the chunkSize
parameter of the readChunked(...)
method.
from swift-nio.
Agree but I'm talking about the
byteCount
parameter, not thechunkSize
parameter of thereadChunked(...)
method.
Fair enough!
from swift-nio.
Related Issues (20)
- Sending/Receiving IP Packets Without Root Privilege HOT 6
- Trying to archive something that has swift-nio as dependency fails HOT 1
- subscript(canonicalForm:) should not split 'user-agent' on commas HOT 2
- TimeAmount.hours(.max) and probably others crash because of overflow HOT 2
- Needs Pods Support for latest 2.59.0 SwiftNIO version HOT 3
- NonBlockingFileIO has no async APIs HOT 5
- NIOLoopBound has bad error messages HOT 4
- More clearly document how child channels work
- Version 2.60.0 causing app to crash when launched on iOS 15.5 simulator HOT 26
- NIOConnectionErrors HOT 7
- TestFlight send failed Xcode 15.0 HOT 2
- `VsockAddressTest.testGetLocalCID` crashes in jammy with Swift 5.9.1 HOT 5
- Thread running at QOS_CLASS_USER_INTERACTIVE waiting on a lower QoS thread running at QOS_CLASS_DEFAULT. Investigate ways to avoid priority inversions HOT 2
- WebSocket handshake failure when app is built with Bazel HOT 11
- No such module NIO HOT 1
- Documentation: Missing docs for underscored protocols
- Hang risk. QoS HOT 2
- Deinited NIOAsyncWriter without calling finish() if socket connection failed HOT 2
- crash: free(): corrupted unsorted chunks HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swift-nio.