Class ByteArrayRendering

  • All Implemented Interfaces:
    Rendering

    public class ByteArrayRendering
    extends java.lang.Object
    implements Rendering
    INTERNAL API
    • Constructor Detail

      • ByteArrayRendering

        public ByteArrayRendering​(int sizeHint,
                                  scala.Function1<java.lang.String,​scala.runtime.BoxedUnit> logDiscardedHeader)
      • ByteArrayRendering

        public ByteArrayRendering​(int sizeHint)
    • Method Detail

      • get

        public byte[] get()
      • remainingCapacity

        public int remainingCapacity()
      • asByteString

        public akka.util.ByteString asByteString()
      • mark

        protected int mark()
        Specified by:
        mark in interface Rendering
      • check

        protected boolean check​(int mark)
        Specified by:
        check in interface Rendering