George Barnett
302dee3e1a
Make ByteBufferView mutable ( #1208 )
...
Motivation:
ByteBufferView isn't a mutable collection, but it probably should be.
Modifications:
- Add `copyBytes(at:to:length)` to `ByteBuffer` to copy bytes from a
readable region of a buffer to another part of the buffer
- Conform `ByteBufferView` to `MutableCollection`, `RangeReplaceableCollection`
and `MutableDataProtocol`
- Add an allocation counting test
Result:
`ByteBufferView` is now mutable.
2019-11-27 10:25:15 +00:00
..
2019-03-05 09:23:25 +00:00
2019-10-16 22:06:55 -07:00
2019-10-22 12:32:45 -07:00
2019-10-22 12:32:45 -07:00
2019-11-12 15:11:32 +00:00
2019-07-19 17:31:41 +01:00
2019-11-27 10:25:15 +00:00
2019-11-26 16:59:49 +00:00
2019-11-27 10:25:15 +00:00
2019-10-16 22:06:55 -07:00
2019-03-25 09:39:03 +02:00
2019-03-25 12:09:16 +02:00
2019-02-01 15:34:59 +00:00
2019-11-20 13:26:00 +00:00
2019-11-11 09:48:36 +00:00
2019-11-12 15:11:32 +00:00
2019-08-20 09:24:58 +01:00
2019-03-05 13:52:17 +00:00
2019-02-19 18:31:26 +00:00
2019-10-22 12:32:45 -07:00
2019-11-18 16:10:34 +01:00
2019-11-20 11:55:12 +01:00
2019-10-16 22:06:55 -07:00
2019-10-16 22:06:55 -07:00
2019-03-05 09:23:25 +00:00
2019-01-24 16:42:53 +00:00
2019-08-20 09:24:58 +01:00
2019-11-11 11:36:37 +00:00
2019-11-20 11:55:12 +01:00
2019-03-08 16:53:55 +00:00
2019-02-01 15:34:59 +00:00
2019-03-27 11:53:17 +00:00
2018-11-13 14:49:08 +00:00
2019-02-19 16:52:00 +00:00
2019-11-12 15:11:32 +00:00
2019-02-14 13:25:30 +00:00
2019-03-06 16:43:13 +00:00
2019-04-30 12:06:24 +01:00
2019-08-09 15:20:53 +01:00
2019-10-22 16:40:02 -07:00
2019-10-22 12:32:45 -07:00
2019-10-22 12:32:45 -07:00
2019-10-16 22:06:55 -07:00
2019-10-16 22:06:55 -07:00
2019-03-25 12:09:16 +02:00
2018-08-01 15:57:27 +01:00
2018-03-02 15:40:52 +09:00
2018-02-28 09:46:29 +00:00
2019-11-13 19:44:15 +00:00
2019-10-16 22:06:55 -07:00
2019-10-16 22:06:55 -07:00
2019-10-30 12:53:06 +01:00
2019-10-25 02:47:05 -07:00
2019-03-19 17:36:27 +00:00
2019-10-16 22:06:55 -07:00
2019-10-31 13:10:00 +01:00
2019-08-09 15:20:53 +01:00
2018-12-07 21:15:34 +00:00
2018-12-07 21:15:34 +00:00