Class Strings.BinEncoder

  • All Implemented Interfaces:
    Type.Codec.Encoder<io.netty.buffer.ByteBuf>
    Enclosing class:
    Strings

    public static class Strings.BinEncoder
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      BinEncoder()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void encode​(Context context, Type type, java.lang.Object value, java.lang.Object sourceContext, io.netty.buffer.ByteBuf buffer)  
      protected void encodeValue​(Context context, Type type, java.lang.Object value, java.lang.Object sourceContext, io.netty.buffer.ByteBuf buffer)  
      • Methods inherited from class java.lang.Object

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

      • BinEncoder

        public BinEncoder()
    • Method Detail

      • encodeValue

        protected void encodeValue​(Context context,
                                   Type type,
                                   java.lang.Object value,
                                   java.lang.Object sourceContext,
                                   io.netty.buffer.ByteBuf buffer)
                            throws java.io.IOException
        Throws:
        java.io.IOException
      • encode

        public void encode​(Context context,
                           Type type,
                           java.lang.Object value,
                           java.lang.Object sourceContext,
                           io.netty.buffer.ByteBuf buffer)
                    throws java.io.IOException
        Specified by:
        encode in interface Type.Codec.Encoder<io.netty.buffer.ByteBuf>
        Throws:
        java.io.IOException