Package org.apache.pekko.util
Class ByteString.ByteString1$
java.lang.Object
org.apache.pekko.util.ByteString.ByteString1$
- All Implemented Interfaces:
Serializable,ByteString.Companion
- Enclosing class:
- ByteString
public static class ByteString.ByteString1$
extends Object
implements ByteString.Companion, Serializable
INTERNAL API: ByteString backed by exactly one array, with start / end markers
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ByteString.ByteString1$Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(byte[] bytes) apply(byte[] bytes, int startIndex, int length) empty()fromString(String s) byte
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
ByteString1$
public ByteString1$()
-
-
Method Details
-
empty
-
fromString
-
apply
-
apply
-
SerializationIdentity
public byte SerializationIdentity()- Specified by:
SerializationIdentityin interfaceByteString.Companion
-
readFromInputStream
- Specified by:
readFromInputStreamin interfaceByteString.Companion
-