Johannes Weiss
62b4acaedf
ByteBuffer.clear: Prevent copying bytes if allocation is necessary
2018-01-05 15:01:48 +00:00
Norman Maurer
76482816e6
Prefix all ByteBuffer methods with get if these allow access to unitialized memory.
2017-12-15 12:24:09 +01:00
Johannes Weiss
64a1c2feb8
Channel writes: unit tests & lots of fixes
2017-12-11 12:20:46 +00:00
Johannes Weiss
9b593d0f8d
ByteBuffer documentation (final part 2)
2017-12-04 11:51:17 +00:00
Johannes Weiß
40edb34d8f
introduce & test ByteBuffer.readString
2017-11-08 13:06:09 -08:00
Johannes Weiss
c18db56fc2
make >= 0 checks for index/length a precondition
2017-11-09 02:49:11 -08:00
Johannes Weiss
839a5050dd
ByteBuffer: fast path for contiguous collections
2017-11-03 02:39:54 -07:00
Johannes Weiss
e9c76088ac
ByteBuffer: avoid potential overflows for reading functions
2017-10-24 13:24:47 +01:00
Johannes Weiss
2889c7e3de
fix buffer confusion on incomplete writes
2017-10-17 16:51:15 +01:00
Johannes Weiss
0b265368a1
use the new Swift 4 String APIs for encoding/decoding Strings
2017-10-10 17:12:02 +01:00
Johannes Weiss
de2cb8a038
ByteBuffer.set with Collection of UInt8
2017-09-29 15:41:32 +01:00
Johannes Weiß
06ff146839
fix missing autoreleasepool & faster string -> bytes
2017-07-17 17:57:15 +01:00
Norman Maurer
3c604f90dd
Move ByteBuffer.string(...) to ByteBuffer-aux
2017-07-10 15:50:24 +02:00
Johannes Weiß
cc9ecf2071
HTTP tests & fixes
2017-06-29 12:20:52 +01:00
Tom Doron
a6bae8b759
linux support
...
motivation: be able to build and test on linux
changes:
* add dockerfile to create docker image running all toold required for testing on linux
* add readme with instruction on how to use the docker setup
* add script to generate linux tests mapping
* add .swift_version file to explicitly call out the swift version needed to build the project
* adjust code that did not build on linux, mainly casting between Int32 and Int
2017-06-21 10:58:28 -07:00
Norman Maurer
28c61c43e4
Remove ByteBuffer.skipBytes(...) as its reduntant with moveWriterIndex(forwardBy(...)
2017-06-16 20:26:53 +02:00
Johannes Weiß
ecbda69fa9
fix pipeline stall (when no reads were happening and write returned EWOULDBLOCK)
2017-06-16 17:46:50 +01:00
Norman Maurer
dea2a44c49
Add missing @discardResult
2017-06-16 13:16:03 +01:00
Norman Maurer
a7811b7b2d
Add ByteBuffer.write(buffer) and set(buffer)
2017-06-14 19:19:29 +02:00
Johannes Weiß
ba791a0ed5
new byte buffer
2017-06-12 17:42:07 +01:00