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


The following commit(s) were added to refs/heads/main by this push:
     new cf87440ed fix: correct meta_size_mask (#303)
cf87440ed is described below

commit cf87440edf013a6f2dc2c1cd427880a7f79c9d48
Author: urlyy <[email protected]>
AuthorDate: Fri Aug 22 18:36:51 2025 +0800

    fix: correct meta_size_mask (#303)
    
    Now is correct.
    <img width="958" height="117" alt="image"
    
src="https://github.com/user-attachments/assets/3cf0b9f4-c182-49fb-9862-7826af258062";
    />
---
 docs/specification/java_serialization_spec.md                         | 4 ++--
 docs/specification/xlang_serialization_spec.md                        | 4 ++--
 .../version-0.11/specification/java_serialization_spec.md             | 4 ++--
 .../version-0.11/specification/xlang_serialization_spec.md            | 4 ++--
 versioned_docs/version-0.10/specification/java_serialization_spec.md  | 4 ++--
 versioned_docs/version-0.10/specification/xlang_serialization_spec.md | 4 ++--
 versioned_docs/version-0.11/specification/java_serialization_spec.md  | 4 ++--
 versioned_docs/version-0.11/specification/xlang_serialization_spec.md | 4 ++--
 versioned_docs/version-0.12/specification/java_serialization_spec.md  | 4 ++--
 versioned_docs/version-0.12/specification/xlang_serialization_spec.md | 4 ++--
 10 files changed, 20 insertions(+), 20 deletions(-)

diff --git a/docs/specification/java_serialization_spec.md 
b/docs/specification/java_serialization_spec.md
index 2aa12b5f2..50c581a91 100644
--- a/docs/specification/java_serialization_spec.md
+++ b/docs/specification/java_serialization_spec.md
@@ -136,8 +136,8 @@ Class meta are encoded from parent class to leaf class, 
only class with serializ
 
 Meta header is a 64 bits number value encoded in little endian order.
 
-- lower 12 bits are used to encode meta size. If meta size `>= 
0b111_1111_1111`, then write
-  `meta_ size - 0b111_1111_1111` next.
+- lower 12 bits are used to encode meta size. If meta size `>= 
0b1111_1111_1111`, then write
+  `meta_ size - 0b1111_1111_1111` next.
 - 13rd bit is used to indicate whether to write fields meta. When this class 
is schema-consistent or use registered
   serializer, fields meta will be skipped. Class Meta will be used for share 
namespace + type name only.
 - 14rd bit is used to indicate whether meta is compressed.
diff --git a/docs/specification/xlang_serialization_spec.md 
b/docs/specification/xlang_serialization_spec.md
index 66ced9319..2dcf84fef 100644
--- a/docs/specification/xlang_serialization_spec.md
+++ b/docs/specification/xlang_serialization_spec.md
@@ -319,8 +319,8 @@ subclass.
 
 `50 bits hash + 1bit compress flag + write fields meta + 12 bits meta size`. 
Right is the lower bits.
 
-- lower 12 bits are used to encode meta size. If meta size `>= 
0b111_1111_1111`, then write
-  `meta_ size - 0b111_1111_1111` next.
+- lower 12 bits are used to encode meta size. If meta size `>= 
0b1111_1111_1111`, then write
+  `meta_ size - 0b1111_1111_1111` next.
 - 13rd bit is used to indicate whether to write fields meta. When this class 
is schema-consistent or use registered
   serializer, fields meta will be skipped. Class Meta will be used for share 
namespace + type name only.
 - 14rd bit is used to indicate whether meta is compressed.
diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.11/specification/java_serialization_spec.md
 
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.11/specification/java_serialization_spec.md
index 3a8d4bbe5..b702f5cda 100644
--- 
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.11/specification/java_serialization_spec.md
+++ 
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.11/specification/java_serialization_spec.md
@@ -136,8 +136,8 @@ Class meta are encoded from parent class to leaf class, 
only class with serializ
 
 Meta header is a 64 bits number value encoded in little endian order.
 
-- lower 12 bits are used to encode meta size. If meta size `>= 
0b111_1111_1111`, then write
-  `meta_ size - 0b111_1111_1111` next.
+- lower 12 bits are used to encode meta size. If meta size `>= 
0b1111_1111_1111`, then write
+  `meta_ size - 0b1111_1111_1111` next.
 - 13rd bit is used to indicate whether to write fields meta. When this class 
is schema-consistent or use registered
   serializer, fields meta will be skipped. Class Meta will be used for share 
namespace + type name only.
 - 14rd bit is used to indicate whether meta is compressed.
diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.11/specification/xlang_serialization_spec.md
 
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.11/specification/xlang_serialization_spec.md
index debfaf926..d7b4ad35c 100644
--- 
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.11/specification/xlang_serialization_spec.md
+++ 
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.11/specification/xlang_serialization_spec.md
@@ -322,8 +322,8 @@ subclass.
 
 `50 bits hash + 1bit compress flag + write fields meta + 12 bits meta size`. 
Right is the lower bits.
 
-- lower 12 bits are used to encode meta size. If meta size `>= 
0b111_1111_1111`, then write
-  `meta_ size - 0b111_1111_1111` next.
+- lower 12 bits are used to encode meta size. If meta size `>= 
0b1111_1111_1111`, then write
+  `meta_ size - 0b1111_1111_1111` next.
 - 13rd bit is used to indicate whether to write fields meta. When this class 
is schema-consistent or use registered
   serializer, fields meta will be skipped. Class Meta will be used for share 
namespace + type name only.
 - 14rd bit is used to indicate whether meta is compressed.
diff --git 
a/versioned_docs/version-0.10/specification/java_serialization_spec.md 
b/versioned_docs/version-0.10/specification/java_serialization_spec.md
index 257f0172b..c18058f59 100644
--- a/versioned_docs/version-0.10/specification/java_serialization_spec.md
+++ b/versioned_docs/version-0.10/specification/java_serialization_spec.md
@@ -136,8 +136,8 @@ Class meta are encoded from parent class to leaf class, 
only class with serializ
 
 Meta header is a 64 bits number value encoded in little endian order.
 
-- lower 12 bits are used to encode meta size. If meta size `>= 
0b111_1111_1111`, then write
-  `meta_ size - 0b111_1111_1111` next.
+- lower 12 bits are used to encode meta size. If meta size `>= 
0b1111_1111_1111`, then write
+  `meta_ size - 0b1111_1111_1111` next.
 - 13rd bit is used to indicate whether to write fields meta. When this class 
is schema-consistent or use registered
   serializer, fields meta will be skipped. Class Meta will be used for share 
namespace + type name only.
 - 14rd bit is used to indicate whether meta is compressed.
diff --git 
a/versioned_docs/version-0.10/specification/xlang_serialization_spec.md 
b/versioned_docs/version-0.10/specification/xlang_serialization_spec.md
index b566f4a94..4a8335611 100644
--- a/versioned_docs/version-0.10/specification/xlang_serialization_spec.md
+++ b/versioned_docs/version-0.10/specification/xlang_serialization_spec.md
@@ -318,8 +318,8 @@ subclass.
 
 `50 bits hash + 1bit compress flag + write fields meta + 12 bits meta size`. 
Right is the lower bits.
 
-- lower 12 bits are used to encode meta size. If meta size `>= 
0b111_1111_1111`, then write
-  `meta_ size - 0b111_1111_1111` next.
+- lower 12 bits are used to encode meta size. If meta size `>= 
0b1111_1111_1111`, then write
+  `meta_ size - 0b1111_1111_1111` next.
 - 13rd bit is used to indicate whether to write fields meta. When this class 
is schema-consistent or use registered
   serializer, fields meta will be skipped. Class Meta will be used for share 
namespace + type name only.
 - 14rd bit is used to indicate whether meta is compressed.
diff --git 
a/versioned_docs/version-0.11/specification/java_serialization_spec.md 
b/versioned_docs/version-0.11/specification/java_serialization_spec.md
index 3a8d4bbe5..b702f5cda 100644
--- a/versioned_docs/version-0.11/specification/java_serialization_spec.md
+++ b/versioned_docs/version-0.11/specification/java_serialization_spec.md
@@ -136,8 +136,8 @@ Class meta are encoded from parent class to leaf class, 
only class with serializ
 
 Meta header is a 64 bits number value encoded in little endian order.
 
-- lower 12 bits are used to encode meta size. If meta size `>= 
0b111_1111_1111`, then write
-  `meta_ size - 0b111_1111_1111` next.
+- lower 12 bits are used to encode meta size. If meta size `>= 
0b1111_1111_1111`, then write
+  `meta_ size - 0b1111_1111_1111` next.
 - 13rd bit is used to indicate whether to write fields meta. When this class 
is schema-consistent or use registered
   serializer, fields meta will be skipped. Class Meta will be used for share 
namespace + type name only.
 - 14rd bit is used to indicate whether meta is compressed.
diff --git 
a/versioned_docs/version-0.11/specification/xlang_serialization_spec.md 
b/versioned_docs/version-0.11/specification/xlang_serialization_spec.md
index debfaf926..d7b4ad35c 100644
--- a/versioned_docs/version-0.11/specification/xlang_serialization_spec.md
+++ b/versioned_docs/version-0.11/specification/xlang_serialization_spec.md
@@ -322,8 +322,8 @@ subclass.
 
 `50 bits hash + 1bit compress flag + write fields meta + 12 bits meta size`. 
Right is the lower bits.
 
-- lower 12 bits are used to encode meta size. If meta size `>= 
0b111_1111_1111`, then write
-  `meta_ size - 0b111_1111_1111` next.
+- lower 12 bits are used to encode meta size. If meta size `>= 
0b1111_1111_1111`, then write
+  `meta_ size - 0b1111_1111_1111` next.
 - 13rd bit is used to indicate whether to write fields meta. When this class 
is schema-consistent or use registered
   serializer, fields meta will be skipped. Class Meta will be used for share 
namespace + type name only.
 - 14rd bit is used to indicate whether meta is compressed.
diff --git 
a/versioned_docs/version-0.12/specification/java_serialization_spec.md 
b/versioned_docs/version-0.12/specification/java_serialization_spec.md
index 2aa12b5f2..50c581a91 100644
--- a/versioned_docs/version-0.12/specification/java_serialization_spec.md
+++ b/versioned_docs/version-0.12/specification/java_serialization_spec.md
@@ -136,8 +136,8 @@ Class meta are encoded from parent class to leaf class, 
only class with serializ
 
 Meta header is a 64 bits number value encoded in little endian order.
 
-- lower 12 bits are used to encode meta size. If meta size `>= 
0b111_1111_1111`, then write
-  `meta_ size - 0b111_1111_1111` next.
+- lower 12 bits are used to encode meta size. If meta size `>= 
0b1111_1111_1111`, then write
+  `meta_ size - 0b1111_1111_1111` next.
 - 13rd bit is used to indicate whether to write fields meta. When this class 
is schema-consistent or use registered
   serializer, fields meta will be skipped. Class Meta will be used for share 
namespace + type name only.
 - 14rd bit is used to indicate whether meta is compressed.
diff --git 
a/versioned_docs/version-0.12/specification/xlang_serialization_spec.md 
b/versioned_docs/version-0.12/specification/xlang_serialization_spec.md
index 4c314c5e0..e39a8832c 100644
--- a/versioned_docs/version-0.12/specification/xlang_serialization_spec.md
+++ b/versioned_docs/version-0.12/specification/xlang_serialization_spec.md
@@ -319,8 +319,8 @@ subclass.
 
 `50 bits hash + 1bit compress flag + write fields meta + 12 bits meta size`. 
Right is the lower bits.
 
-- lower 12 bits are used to encode meta size. If meta size `>= 
0b111_1111_1111`, then write
-  `meta_ size - 0b111_1111_1111` next.
+- lower 12 bits are used to encode meta size. If meta size `>= 
0b1111_1111_1111`, then write
+  `meta_ size - 0b1111_1111_1111` next.
 - 13rd bit is used to indicate whether to write fields meta. When this class 
is schema-consistent or use registered
   serializer, fields meta will be skipped. Class Meta will be used for share 
namespace + type name only.
 - 14rd bit is used to indicate whether meta is compressed.


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

Reply via email to