variable timeCfg Codec for <TimeCfg>. Examples Set the camera clock import { assertEquals } from "@std/assert"; import { timeCfg } from "@hertzg/reolink-api/protocol/params"; assertEquals( timeCfg.encode({ realTime: 1791504000 }), '<TimeCfg version="1.1"><realTime>1791504000</realTime></TimeCfg>', ); Type XmlParam<"TimeCfg", TimeCfg>