Commit graph

35 commits

Author SHA1 Message Date
hepin
e0f06fdee7 +act #13516 add getByteString and getBytes method with a given length 2015-04-21 14:33:48 +08:00
Julian Tescher
00f6a58e7c Changes all occurances of Typesafe copyright to extend to 2015 2015-03-10 14:12:19 -07:00
Adam Voss
cce29dfa51 Changes all occurances of Typesafe copyright to extend to 2014. 2014-02-04 21:20:09 -06:00
Your Name
2774596d04 Correct unsigned byte behavior 2013-04-15 15:09:07 +02:00
Roland
d794b14b2b implement and document Pipelines, see #3174
- heavily inspired by spray.io.Pipeline
- fully functional style: a stage returns the resulting commands and
  events, which makes it impossible to mess with the pipeline from the
  inside
- object allocations are optimized away for emtpy and 1-elem results
- added type-safety, verifying that stages match up
- management commands “from the side” for configuration or async events
- full Java API and docs
2013-04-08 20:57:04 +02:00
Patrik Nordwall
5dc108567d Style change of def starting with if
* When a def starts with if and is not a oneliner the if
  should be on a new line.
* The reason is that it might be easy to miss the if when
  reading the code.
2013-01-18 13:28:49 +01:00
Viktor Klang
adfeb2c1f0 #2879 - updating copyright info 2013-01-09 11:38:00 +01:00
Viktor Klang
6fb06ee46b Merge with master and adding copyright notices on the osgi stuff 2012-07-01 22:31:39 +02:00
Oliver Schulz
20e313e6a5 Removed final specifier on some ByteString and ByteIterator methods 2012-06-17 22:22:40 +02:00
Oliver Schulz
904f1ba0bc Removed obsolete ByteIterator.isIdenticalTo 2012-05-31 00:56:33 +02:00
Oliver Schulz
b285b0821f Made things that don't need to be public private in ByteString / -Iterator 2012-05-31 00:39:15 +02:00
Oliver Schulz
a0ea833d54 Improved ByteArrayIterator.empty 2012-05-30 18:06:01 +02:00
Oliver Schulz
4658e4f165 Removed some remnant exposed internals from ByteArrayIterator 2012-05-30 18:05:54 +02:00
Oliver Schulz
b5fa527d2c Simplified implementation of ByteIterator.indexOf 2012-05-30 00:02:50 +02:00
Oliver Schulz
60c7a57ddf Code formatting changes as requested by Victor 2012-05-30 00:02:50 +02:00
Oliver Schulz
9865a4e3e1 Added specialized implementation of foreach to MultiByteArrayIterator 2012-05-30 00:02:49 +02:00
Oliver Schulz
76010d5b56 Changed ByteIterator.span to return operand iterator first in tuple
Makes things more consistent, since ByteIterator.duplicate also returns
the operand iterator first.
2012-05-30 00:02:49 +02:00
Oliver Schulz
7a854a9a83 Changed MultiByteArrayIterator to operate on a LinearSeq
ByteString.ByteStrings new creates it's iterator on a Stream instead of
a List, making ByteStings.iterator an O(1) operation.
2012-05-30 00:02:49 +02:00
Oliver Schulz
151b74262e Improved MultiByteArrayIterator.toByteString
MultiByteArrayIterator.toByteString now returns the optimal ByteString
representation for the data.
2012-05-30 00:02:49 +02:00
Oliver Schulz
c185f72c37 Fixed ByteIterator InputStream wrapping
Result of ByteIterator.asInputStream did not work correctly in all cases
2012-05-29 23:59:43 +02:00
Oliver Schulz
696cd5a192 Fixed implementations of ByteIterator.getBytes, getShorts, etc.
Implementations were broken.
2012-05-29 23:59:08 +02:00
Oliver Schulz
d3e878effb Fixed ByteIterator.{take,drop,slice} for extreme argument values 2012-05-29 23:59:08 +02:00
Oliver Schulz
75c04d8944 Explicit types for everything related to ByteString and ByteStringIterator 2012-05-26 12:08:44 +02:00
Oliver Schulz
18e5b625f4 Added missing class description of ByteIterator 2012-05-26 11:43:57 +02:00
Oliver Schulz
7273ac2f02 Fixed implementation of ByteIterator.InputStreamWrapper.next 2012-05-26 11:31:24 +02:00
Oliver Schulz
d3177bf08f Improved return type specialization for methods implemented in super-type 2012-05-26 11:30:51 +02:00
Oliver Schulz
0c76e0f0f6 Moved ByteIterator implementations into object ByteIterator 2012-05-26 11:30:23 +02:00
Oliver Schulz
a032603858 Added variants of getBytes, getShorts, etc. to ByteByteIterator
Also removed byteOrder defaults for all get... methods.
2012-05-18 01:09:01 +02:00
Oliver Schulz
18e6e3ed7a Made byteOrder implicit in ByteIterator methods 2012-05-18 01:09:01 +02:00
Oliver Schulz
844f09a5c7 Added methods getByte, getShort, etc. to ByteIterator 2012-05-18 01:09:01 +02:00
Oliver Schulz
f4ee17dcac Added methods getBytes, getShorts, etc. to ByteIterator 2012-05-18 01:09:01 +02:00
Oliver Schulz
4517b44e8b Added a java.io.InputStream wrapper for ByteIterator. 2012-05-18 01:09:01 +02:00
Oliver Schulz
b7e2246ce8 Improved implementations of ByteIterator.++ 2012-05-18 01:09:01 +02:00
Oliver Schulz
c8d7c995db Enhanced ByteString implementation using ByteIterator 2012-05-18 01:09:00 +02:00
Oliver Schulz
76dab6354e Added ByteIterator 2012-05-18 01:09:00 +02:00