public boolean parseIp(byte[] ipBytes) {
      if (ipBytes == null) return false;
      if (ipBytes.length == 4) {
        ipv4Bytes = ipBytes;
        ipv4 = writeIpV4(ipBytes);
      } else if (ipBytes.length == 16) {
        if (!parseEmbeddedIPv4(ipBytes)) {
          ipv6 = writeIpV6(ipBytes);
          ipv6Bytes = ipBytes;
        }
      } else {
        return false;
      }
      return true;
    }
Like {@link #parseIp(String)} except this accepts a byte array.

@param ipBytes byte array whose ownership is exclusively transferred to this endpoint.
zipkin/src/main/java/zipkin2/Endpoint.java