code: @Override
    public NamingLookupRequest decode(final byte[] buf) {
      final AvroNamingLookupRequest req = AvroUtils.fromBytes(buf, AvroNamingLookupRequest.class);
  
      final List<Identifier> ids = new ArrayList<>(req.getIds().size());
      for (final CharSequence s : req.getIds()) {
        ids.add(factory.getNewInstance(s.toString()));
      }
      return new NamingLookupRequest(ids);
    }
docs: Decodes the bytes to a naming lookup request.
  
  @param buf the byte array
  @return a naming lookup request