ignore and annotation description

This commit is contained in:
Sergey Chernov 2023-03-31 07:10:59 +01:00
parent 204f73f045
commit ba6bf7eb37
2 changed files with 5 additions and 0 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@
/build/ /build/
/gradle/wrapper/gradle-wrapper.jar /gradle/wrapper/gradle-wrapper.jar
/gradle/wrapper/gradle-wrapper.properties /gradle/wrapper/gradle-wrapper.properties
/node_modules

View File

@ -97,3 +97,7 @@ It adds 4 bytes to the serialized data.
## @Unisgned ## @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. 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.