code: public byte[] encode() {
  		char type = getAttributeType();
  		byte binValue[] = new byte[HEADER_LENGTH + getDataLength()];
  
  		// Type
  		binValue[0] = (byte) (type >> 8);
  		binValue[1] = (byte) (type & 0x00FF);
  
  		// Length
  		binValue[2] = (byte) (getDataLength() >> 8);
  		binValue[3] = (byte) (getDataLength() & 0x00FF);
  
  		return binValue;
  	}
docs: Returns a binary representation of this attribute.
  
  @return a binary representation of this attribute.