Expand description
Path encoding utilities / 路径编码工具
Encodes IDs into hierarchical paths like xx/xx/xx (low bits first) to improve
load balancing in storage systems.
将 ID 编码为 xx/xx/xx 格式的路径(低位在前),有利于在存储系统中实现负载均衡。
Enums§
Constants§
Functions§
- decode
- Decode path to id / 解码路径为 ID
- encode
- Encode id to path: prefix/xx/xx/xx (low bits first) 编码 ID 为路径(低位在前)