📂 from /home/chedong/.local/share/rdoc
| Use Case | Command | Description |
|---|---|---|
| Create a new timestamp | MessagePack::Timestamp.new(sec, nsec) |
🆕 Construct a timestamp with seconds and nanoseconds. |
| Parse from MessagePack extension | MessagePack::Timestamp.from_msgpack_ext(data) |
📥 Deserialize a timestamp from its packed representation. |
| Serialize to MessagePack extension | timestamp.to_msgpack_ext |
📤 Pack the timestamp into the MessagePack extension format. |
| Get seconds | timestamp.sec |
⏱️ Retrieve the seconds component (Unix timestamp). |
| Get nanoseconds | timestamp.nsec |
🔬 Retrieve the nanosecond component (0–999,999,999). |
TIMESTAMP32_MAX_SEC — 📄 [not documented]TIMESTAMP64_MAX_SEC — 📄 [not documented]TYPE — 🏷️ The timestamp extension type defined in the MessagePack spec. See https://github.com/msgpack/msgpack/blob/master/spec.md#timestamp-extension-type for details.from_msgpack_ext — 📄 [not documented]new — 📄 [not documented]to_msgpack_ext — 📄 [not documented]== — 📄 [not documented]nsec — 📄 [not documented]sec — 📄 [not documented]to_msgpack_ext — 📄 [not documented]attr_reader nsec — 📄 [not documented]attr_reader sec — 📄 [not documented]Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-27 16:37 @216.73.216.194
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format