Added ByteString1.apply(bytes, startIndex, length)

This commit is contained in:
Oliver Schulz 2012-05-17 13:13:47 +02:00
parent 322edb2eca
commit 3436c3b14d

View file

@ -100,6 +100,7 @@ object ByteString {
private[akka] object ByteString1 {
def apply(bytes: Array[Byte]) = new ByteString1(bytes)
def apply(bytes: Array[Byte], startIndex: Int, length: Int) = new ByteString1(bytes, startIndex, length)
}
/**