|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object akka.util.CompactByteString$
public class CompactByteString$
Field Summary | |
---|---|
static CompactByteString$ |
MODULE$
Static reference to the singleton instance of this Scala object. |
Constructor Summary | |
---|---|
CompactByteString$()
|
Method Summary | ||
---|---|---|
CompactByteString |
apply(byte[] bytes)
Creates a new CompactByteString by copying a byte array. |
|
CompactByteString |
apply(java.nio.ByteBuffer bytes)
Creates a new CompactByteString by copying bytes from a ByteBuffer. |
|
CompactByteString |
apply(scala.collection.Seq<java.lang.Object> bytes)
Creates a new CompactByteString by copying bytes. |
|
|
apply(scala.collection.Seq<T> bytes,
scala.math.Integral<T> num)
Creates a new CompactByteString by converting from integral numbers to bytes. |
|
CompactByteString |
apply(java.lang.String string)
Creates a new CompactByteString by encoding a String as UTF-8. |
|
CompactByteString |
apply(java.lang.String string,
java.lang.String charset)
Creates a new CompactByteString by encoding a String with a charset. |
|
CompactByteString |
empty()
|
|
CompactByteString |
fromArray(byte[] array,
int offset,
int length)
Creates a new CompactByteString by copying length bytes starting at offset from an Array. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final CompactByteString$ MODULE$
Constructor Detail |
---|
public CompactByteString$()
Method Detail |
---|
public CompactByteString apply(byte[] bytes)
bytes
- (undocumented)
public CompactByteString apply(scala.collection.Seq<java.lang.Object> bytes)
bytes
- (undocumented)
public <T> CompactByteString apply(scala.collection.Seq<T> bytes, scala.math.Integral<T> num)
bytes
- (undocumented)num
- (undocumented)
public CompactByteString apply(java.nio.ByteBuffer bytes)
bytes
- (undocumented)
public CompactByteString apply(java.lang.String string)
string
- (undocumented)
public CompactByteString apply(java.lang.String string, java.lang.String charset)
string
- (undocumented)charset
- (undocumented)
public CompactByteString fromArray(byte[] array, int offset, int length)
array
- (undocumented)offset
- (undocumented)length
- (undocumented)
public CompactByteString empty()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |