forked from TrueCloudLab/frostfs-sdk-java
[#47] Add APE rule deserializer
Signed-off-by: Ori Bruk <o.bruk@yadro.com>
This commit is contained in:
parent
db74919401
commit
39158348dd
21 changed files with 504 additions and 79 deletions
|
@ -17,10 +17,13 @@ public class RuleConst {
|
|||
// https://github.com/neo-project/neo/blob/38218bbee5bbe8b33cd8f9453465a19381c9a547/src/Neo/IO/Helper.cs#L77
|
||||
public static final int MAX_SLICE_LENGTH = 0x1000000;
|
||||
|
||||
public static final int MAX_VAR_INT_LENGTH = 10;
|
||||
|
||||
public static final int CHAIN_MARSHAL_VERSION = 0;
|
||||
|
||||
public static final long OFFSET127 = 0x7f;
|
||||
public static final long OFFSET128 = 0x80;
|
||||
public static final long UNSIGNED_SERIALIZE_SIZE = 7;
|
||||
public static final int UNSIGNED_SERIALIZE_SIZE = 7;
|
||||
|
||||
private RuleConst() {
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue