Package 

Class AttributeDecoder

  • All Implemented Interfaces:

    
    public class AttributeDecoder
    
                        

    The class provides utilities for decoding a binary stream into an Attribute class.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      static Attribute decode(Array<byte> bytes, int offset, int length) Decodes the specified binary array and returns the corresponding attribute object.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • decode

         static Attribute decode(Array<byte> bytes, int offset, int length)

        Decodes the specified binary array and returns the corresponding attribute object.

        Parameters:
        bytes - the binary array that should be decoded.
        offset - the index where the message starts.
        length - the number of bytes that the message is long.