Class Delimiters

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static ByteBuf[] lineDelimiter()
      Returns CR ('\r') and LF ('\n') delimiters, which could be used for text-based line protocols.
      static ByteBuf[] nulDelimiter()
      Returns a NUL (0x00) delimiter, which could be used for Flash XML socket or any similar protocols.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • nulDelimiter

        public static ByteBuf[] nulDelimiter()
        Returns a NUL (0x00) delimiter, which could be used for Flash XML socket or any similar protocols.
      • lineDelimiter

        public static ByteBuf[] lineDelimiter()
        Returns CR ('\r') and LF ('\n') delimiters, which could be used for text-based line protocols.