MCPcopy Create free account
hub / github.com/apple/foundationdb / pack

Method pack

recipes/java-recipes/MicroTable.java:52–54  ·  view source on GitHub ↗
(Object value)

Source from the content-addressed store, hash-verified

50
51 // Packing and unpacking helper functions.
52 private static byte[] pack(Object value){
53 return Tuple.from(value).pack();
54 }
55
56 private static Object unpack(byte[] value){
57 return Tuple.fromBytes(value).get(0);

Callers 15

applyMethod · 0.95
insert_docFunction · 0.45
get_docFunction · 0.45
_packFunction · 0.45
multi_addFunction · 0.45
multi_subFunction · 0.45
_packFunction · 0.45
multi_addFunction · 0.45
multi_subtractFunction · 0.45
insert_docFunction · 0.45
get_docFunction · 0.45
applyMethod · 0.45

Calls 1

fromMethod · 0.95

Tested by 1

applyMethod · 0.36