class PongPacketData implements PacketData {

  public static PongPacketData readFrom(final RLPInput in) {
    in.enterList();
    final Endpoint to = Endpoint.decodeStandalone(in);
    final Bytes hash = in.readBytes();
    final long expiration = in.readLongScalar();
    in.leaveListLenient();
    return new PongPacketData(to, hash, expiration);
  }

  private  PongPacketData(final Endpoint to, final Bytes pingHash, final long expiration);

}