Closed corbanvilla closed 2 years ago
Implement functions:
enum MajorType { UnsignedInteger, NegativeInteger, ByteString, TextString, Array, Map, TagOfNumber, SimpleFloat }
struct CBORValue { MajorType majorType; bytes value; }
decodeCBOR(bytes memory buf) returns (CBORValue[] memory)
Decodes a CBOR-encoded buffer into an array of decoded major types and values.
/cib
Branch issue-2 created! Clone with: git fetch && git checkout --track origin/issue-2 Rebase develop branch changes with: git checkout issue-2 && git rebase develop
git fetch && git checkout --track origin/issue-2
develop
git checkout issue-2 && git rebase develop
Implement functions:
Decodes a CBOR-encoded buffer into an array of decoded major types and values.