code: @Override
      protected void decode(DataInputStream buffer) throws IOException
      {
          entityId = buffer.readShort();
          final int number = buffer.readByte();
          for (int i = 0; i < number; i++)
          {
              decode(buffer, i);
          }
      }
docs: Read the first byte to retrieve the total number of key and call {@link #decode(DataInputStream, int) for each
  key}.
  
  @param buffer The current buffer to read.
  @throws IOException Exception in case of error.