This procedure is defined in the server but not documented via ad_proc or proc_doc and may be intended as a private interface.
The procedure is defined as:
proc ::ns::stats::pack {value} {
binary encode hex [zlib compress [encoding convertto utf-8 $value] 1]
}