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 054d97e21934a4a88b60887394249f37b24e2f54 Author: chaokunyang <[email protected]> AuthorDate: Wed Apr 29 06:24:44 2026 +0000 🔄 synced local 'docs/specification/' with remote 'docs/specification/' --- docs/specification/xlang_implementation_guide.md | 4 ++-- docs/specification/xlang_serialization_spec.md | 2 +- docs/specification/xlang_type_mapping.md | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/specification/xlang_implementation_guide.md b/docs/specification/xlang_implementation_guide.md index 753763318..e6814609e 100644 --- a/docs/specification/xlang_implementation_guide.md +++ b/docs/specification/xlang_implementation_guide.md @@ -124,7 +124,7 @@ It exposes one-shot primitive helpers such as: - `writeBool` - `writeInt32` -- `writeVarUint32` +- `writeVarUInt32` These helpers are convenience methods. Serializers that perform repeated primitive IO should cache `final buffer = context.buffer;` and call buffer @@ -145,7 +145,7 @@ It exposes matching one-shot primitive helpers such as: - `readBool` - `readInt32` -- `readVarUint32` +- `readVarUInt32` Generated struct serializers call `context.reference(value)` immediately after constructing the target instance so back-references can resolve to that object. diff --git a/docs/specification/xlang_serialization_spec.md b/docs/specification/xlang_serialization_spec.md index c18c32dec..629d26860 100644 --- a/docs/specification/xlang_serialization_spec.md +++ b/docs/specification/xlang_serialization_spec.md @@ -136,7 +136,7 @@ Users can also provide meta hints for fields of a type, or the type whole. Here annotation to provide such information. ```java -@ForyObject(fieldsNullable = false, trackingRef = false) +@ForyStruct(fieldsNullable = false, trackingRef = false) class Foo { @ForyField(trackingRef = false) int[] intArray; diff --git a/docs/specification/xlang_type_mapping.md b/docs/specification/xlang_type_mapping.md index b0185aad5..a96688d0b 100644 --- a/docs/specification/xlang_type_mapping.md +++ b/docs/specification/xlang_type_mapping.md @@ -138,9 +138,9 @@ Here is en example: ```java class Foo { - @Int32Type(compress = false) + @Int32Type(encoding = Int32Encoding.FIXED) int f1; - List<Integer> f2; + List<@Int32Type(encoding = Int32Encoding.FIXED) Integer> f2; } ``` --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
