code: @Override
      protected String decodeData(byte[] buffer) {
          // buffer is guaranteed non-null and proper length
          String ret = new String(buffer);
          ret = ret.trim();
          return ret.isEmpty() ? EMPTY : ret;
      }
docs: {@inheritDoc}