This is an automated email from the ASF dual-hosted git repository.

chaokunyang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fory-site.git

commit 43ca0b7b8bfd2a4f0008d4b3d6ef70a9cb98814c
Author: chaokunyang <[email protected]>
AuthorDate: Wed Jan 21 03:57:08 2026 +0000

    🔄 synced local 'docs/guide/' with remote 'docs/guide/'
---
 docs/guide/java/type-registration.md | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/docs/guide/java/type-registration.md 
b/docs/guide/java/type-registration.md
index 5b9ac80e3..014ed7042 100644
--- a/docs/guide/java/type-registration.md
+++ b/docs/guide/java/type-registration.md
@@ -41,6 +41,9 @@ fory.register(SomeClass1.class, 1);
 
 Note that class registration order is important. Serialization and 
deserialization peers should have the same registration order.
 
+Internal type IDs 0-32 are reserved for built-in xlang types. Java native 
built-ins start at
+`Types.NONE + 1`, and user IDs are encoded as `(user_id << 8) | 
internal_type_id`.
+
 ### Register by Name
 
 Register class by ID will have better performance and smaller space overhead. 
But in some cases, management for a bunch of type IDs is complex. In such 
cases, registering class by name using API `register(Class<?> cls, String 
namespace, String typeName)` is recommended:


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to