From ba6bf7eb376129cec9f2f85a3927b34e9316bd86 Mon Sep 17 00:00:00 2001 From: sergeych Date: Fri, 31 Mar 2023 07:10:59 +0100 Subject: [PATCH] ignore and annotation description --- .gitignore | 1 + README.md | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/.gitignore b/.gitignore index 62189c7..ac16416 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /build/ /gradle/wrapper/gradle-wrapper.jar /gradle/wrapper/gradle-wrapper.properties +/node_modules diff --git a/README.md b/README.md index 8280d70..fc22732 100644 --- a/README.md +++ b/README.md @@ -97,3 +97,7 @@ It adds 4 bytes to the serialized data. ## @Unisgned This __field annontation__ allows to store __integer fields__ of any size more compact by not saving the sign. Could be applyed to both signed and unsigned integers of any size. + +## @FixedSize(size) + +Use it with fixed-size collections (like hashes, keys, etc) to not to keep collection size in the packed binary. It saves at least one byte. \ No newline at end of file