Module forest_filecoin::utils::encoding::serde_byte_array
source · Expand description
serde_bytes
with max length check
Constants§
- lotus use cbor-gen for generating codec for types, it has a length limit for byte array as
2 << 20
Functions§
- checked if
output > crate::utils::ByteArrayMaxLen
- checked if
input > crate::utils::BYTE_ARRAY_MAX_LEN