object ByteStringUtil
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ByteStringUtil
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def compressGzip(bytes: ByteString): ByteString
- def copyNBuffered(n: Int, buffer: Array[Byte], in: InputStream, out: OutputStream): Boolean
Copies
nbytes from in to out.Copies
nbytes from in to out. Returns false if the input contained more thannbytes.Up to (n + 1) bytes may in fact be copied.
- Annotations
- @tailrec()
- def decompressGzip(bytes: ByteString, maxBytesLimit: MaxBytesToDecompress): Either[DeserializationError, ByteString]
We decompress maximum maxBytesLimit bytes, and if the input is larger we throw MaxBytesToDecompressExceeded error.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val orderByteString: Order[ByteString]
Lexicographic ordering on com.google.protobuf.ByteStrings
- val orderingByteString: Ordering[ByteString]
- def padOrTruncate(bytes: ByteString, finalSize: NonNegativeInt): ByteString
Based on the final size we either truncate the bytes to fit in that size or pad with 0s
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()