docs: private static List<Peer> toPeerList(byte[] data)
            throws InvalidBEncodingException, UnknownHostException {
      if (data.length % 6 != 0) {
        throw new InvalidBEncodingException("Invalid peers " +
                "binary information string!");
      }
  
      List<Peer> result = new LinkedList<Peer>();
      ByteBuffer peers = ByteBuffer.wrap(data);
  
      for (int i = 0; i < data.length / 6; i++) {
        byte[] ipBytes = new byte[4];
        peers.get(ipBytes);
        InetAddress ip = InetAddress.getByAddress(ipBytes);
        int port =
                (0xFF & (int) peers.get()) << 8 |
                        (0xFF & (int) peers.get());
        result.add(new Peer(new InetSocketAddress(ip, port)));
      }
  
      return result;
    }