ri > MessagePack::Timestamp

📦 MessagePack::Timestamp < Object

📂 from /home/chedong/.local/share/rdoc

🚀 Quick Reference

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).

🔢 Constants

🔧 Class Methods

⚙️ Instance Methods

📝 Attributes

MessagePack::Timestamp
📦 MessagePack::Timestamp < Object 🚀 Quick Reference 🔢 Constants 🔧 Class Methods ⚙️ Instance Methods 📝 Attributes

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)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format