Package akka.util
Class ByteString.ByteString1$
- java.lang.Object
-
- akka.util.ByteString.ByteString1$
-
- All Implemented Interfaces:
ByteString.Companion
,java.io.Serializable
- Enclosing class:
- ByteString
public static class ByteString.ByteString1$ extends java.lang.Object implements ByteString.Companion, java.io.Serializable
INTERNAL API: ByteString backed by exactly one array, with start / end markers- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static ByteString.ByteString1$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description ByteString1$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ByteString.ByteString1
apply(byte[] bytes)
ByteString.ByteString1
apply(byte[] bytes, int startIndex, int length)
ByteString.ByteString1
empty()
ByteString.ByteString1
fromString(java.lang.String s)
ByteString.ByteString1
readFromInputStream(java.io.ObjectInputStream is)
byte
SerializationIdentity()
-
-
-
Field Detail
-
MODULE$
public static final ByteString.ByteString1$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
empty
public ByteString.ByteString1 empty()
-
fromString
public ByteString.ByteString1 fromString(java.lang.String s)
-
apply
public ByteString.ByteString1 apply(byte[] bytes)
-
apply
public ByteString.ByteString1 apply(byte[] bytes, int startIndex, int length)
-
SerializationIdentity
public byte SerializationIdentity()
- Specified by:
SerializationIdentity
in interfaceByteString.Companion
-
readFromInputStream
public ByteString.ByteString1 readFromInputStream(java.io.ObjectInputStream is)
- Specified by:
readFromInputStream
in interfaceByteString.Companion
-
-