Class BooleanType

    • Constructor Detail

      • BooleanType

        public BooleanType()
    • Method Detail

      • read

        public java.lang.Boolean read​(io.netty.buffer.ByteBuf buffer)
        Description copied from interface: ByteBufReader
        Read a value from a ByteBuf
        Specified by:
        read in interface ByteBufReader<java.lang.Boolean>
        buffer - The buffer to read from.
        The type based on the class type.
      • write

        public void write​(io.netty.buffer.ByteBuf buffer,
                          java.lang.Boolean object)
        Description copied from interface: ByteBufWriter
        Write an object to a type to a ByteBuf
        Specified by:
        write in interface ByteBufWriter<java.lang.Boolean>
        buffer - The buffer to write to
        object - The object to write
      • from

        public java.lang.Boolean from​(java.lang.Object o)
        Description copied from interface: TypeConverter
        Convert from a type to the current type
        Specified by:
        from in interface TypeConverter<java.lang.Boolean>
        o - The input object
        The converted type as an object