Commit Graph

20 Commits

Author SHA1 Message Date
Derrick Hammer 5a6c322524
feat: add MultihashFromBytes 2024-01-17 11:27:52 -05:00
Derrick Hammer 19fb3b9967
fix: move everything using endian to uint64 2024-01-10 11:00:01 -05:00
Derrick Hammer ed2a47fca3
refactor: rename CID decode to CIDFromString 2024-01-09 08:23:35 -05:00
Derrick Hammer 3f469a3a15
fix: dont strip off anything 2024-01-07 11:24:47 -05:00
Derrick Hammer 713bcf98c3
refactor: major refactor to split major components into interfaces due to import cycles 2024-01-07 03:13:35 -05:00
Derrick Hammer f45e297791
refactor: make fullBytes private and create a getter 2024-01-06 07:11:51 -05:00
Derrick Hammer 8d1bdd87ac
refactor: move Data to be accessed via Bytes and Raw 2024-01-06 06:33:23 -05:00
Derrick Hammer a5cc5b3d9e
refactor: rename NodeIdDecode for readability 2024-01-05 10:50:22 -05:00
Derrick Hammer 026a7dc10e
fix: need to export Encoder for test cases 2024-01-04 10:08:13 -05:00
Derrick Hammer e6034b9aae
refactor: move UnmarshalBase64UrlJSON to encoding to prevent an import loop 2024-01-04 09:51:35 -05:00
Derrick Hammer 039fbc1867
refactor: export ErrMultibaseEncodingNotSupported 2024-01-04 09:50:11 -05:00
Derrick Hammer 722dd7d014
refactor: change marshaling 2024-01-04 08:19:26 -05:00
Derrick Hammer 05fb104990
feat: add msfpack marshal support to encoding 2024-01-04 07:44:09 -05:00
Derrick Hammer 4457dff415
feat: add json marshal support to encoding 2024-01-04 04:19:24 -05:00
Derrick Hammer 5e0b9db382
refactor: move test consts under testdata folder in pkg 2024-01-04 02:51:05 -05:00
Derrick Hammer 21ad88d55e
refactor: add NodeIdCode type 2024-01-03 15:28:40 -05:00
Derrick Hammer 989cb82a01
fix: EncryptedCID FromBytes needs to be prefixed with class name 2024-01-03 15:28:05 -05:00
Derrick Hammer 6d943b3b2e
fix: OriginalCID needs to be public 2024-01-03 15:27:35 -05:00
Derrick Hammer 576161fbf8
feat: add EncryptedCID 2024-01-03 08:46:30 -05:00
Derrick Hammer 1b30048a75
refactor: unify all encoding packages 2024-01-03 08:36:23 -05:00