Class ByteBufsDecoders

java.lang.Object
io.activej.csp.binary.decoder.ByteBufsDecoders

public class ByteBufsDecoders extends Object
  • Constructor Details

    • ByteBufsDecoders

      public ByteBufsDecoders()
  • Method Details

    • assertBytes

      public static ByteBufsDecoder<byte[]> assertBytes(byte[] data)
    • ofFixedSize

      public static ByteBufsDecoder<io.activej.bytebuf.ByteBuf> ofFixedSize(int length)
    • ofNullTerminatedBytes

      public static ByteBufsDecoder<io.activej.bytebuf.ByteBuf> ofNullTerminatedBytes()
    • ofNullTerminatedBytes

      public static ByteBufsDecoder<io.activej.bytebuf.ByteBuf> ofNullTerminatedBytes(int maxSize)
    • ofCrTerminatedBytes

      public static ByteBufsDecoder<io.activej.bytebuf.ByteBuf> ofCrTerminatedBytes()
    • ofCrTerminatedBytes

      public static ByteBufsDecoder<io.activej.bytebuf.ByteBuf> ofCrTerminatedBytes(int maxSize)
    • ofCrlfTerminatedBytes

      public static ByteBufsDecoder<io.activej.bytebuf.ByteBuf> ofCrlfTerminatedBytes()
    • ofCrlfTerminatedBytes

      public static ByteBufsDecoder<io.activej.bytebuf.ByteBuf> ofCrlfTerminatedBytes(int maxSize)
    • ofIntSizePrefixedBytes

      public static ByteBufsDecoder<io.activej.bytebuf.ByteBuf> ofIntSizePrefixedBytes()
    • ofIntSizePrefixedBytes

      public static ByteBufsDecoder<io.activej.bytebuf.ByteBuf> ofIntSizePrefixedBytes(int maxSize)
    • ofShortSizePrefixedBytes

      public static ByteBufsDecoder<io.activej.bytebuf.ByteBuf> ofShortSizePrefixedBytes()
    • ofShortSizePrefixedBytes

      public static ByteBufsDecoder<io.activej.bytebuf.ByteBuf> ofShortSizePrefixedBytes(int maxSize)
    • ofByteSizePrefixedBytes

      public static ByteBufsDecoder<io.activej.bytebuf.ByteBuf> ofByteSizePrefixedBytes()
    • ofByteSizePrefixedBytes

      public static ByteBufsDecoder<io.activej.bytebuf.ByteBuf> ofByteSizePrefixedBytes(int maxSize)
    • ofVarIntSizePrefixedBytes

      public static ByteBufsDecoder<io.activej.bytebuf.ByteBuf> ofVarIntSizePrefixedBytes()
    • ofVarIntSizePrefixedBytes

      public static ByteBufsDecoder<io.activej.bytebuf.ByteBuf> ofVarIntSizePrefixedBytes(int maxSize)