Derrick Hammer
|
c00fe56389
|
fix: need to cast language items to a string
|
2024-03-01 03:25:20 -05:00 |
Derrick Hammer
|
05522522bf
|
refactor: switch to using new intParse method
|
2024-03-01 03:21:31 -05:00 |
Derrick Hammer
|
1b950bae08
|
fix: init m
|
2024-03-01 03:17:03 -05:00 |
Derrick Hammer
|
d52e20c0e1
|
fix: add type switch for bitrate
|
2024-03-01 03:15:12 -05:00 |
Derrick Hammer
|
40f9ec7cac
|
fix: audiochannels is int8
|
2024-03-01 03:12:14 -05:00 |
Derrick Hammer
|
12f4b7cdff
|
fix: bitrate is uint16
|
2024-03-01 03:10:20 -05:00 |
Derrick Hammer
|
b813f8599f
|
fix: uint16 not int16
|
2024-03-01 03:08:37 -05:00 |
Derrick Hammer
|
52c5af78a9
|
fix: asr is parsed as int16
|
2024-03-01 03:05:11 -05:00 |
Derrick Hammer
|
ab37004d16
|
feat: add msgpack decode to MediaFormat
|
2024-03-01 03:01:30 -05:00 |
Derrick Hammer
|
889d327c3a
|
refactor: use decodeIntMap
|
2024-03-01 02:55:45 -05:00 |
Derrick Hammer
|
9485c023e7
|
fix: init mmd.Data
|
2024-03-01 02:49:50 -05:00 |
Derrick Hammer
|
28ff1eed48
|
fix: when we have a proof, the body also has a metadata type byte that needs to be validated
|
2024-03-01 02:46:10 -05:00 |
Derrick Hammer
|
f350a37e58
|
fix: don't actually hash the prefix
|
2024-03-01 02:36:11 -05:00 |
Derrick Hammer
|
7c6d11258f
|
fix: need to prepend HashTypeBlake3 prefix to bodyBytes for b3hash
|
2024-03-01 02:29:22 -05:00 |
Derrick Hammer
|
365ba04844
|
refactor: strip out the proofSectionLength from all for readability of the offsets
|
2024-03-01 02:24:20 -05:00 |
Derrick Hammer
|
efb11a9c50
|
fix: change +4 to +2
|
2024-03-01 02:19:35 -05:00 |
Derrick Hammer
|
39903f03e5
|
fix: verify proofData is 4 items
|
2024-03-01 02:08:54 -05:00 |
Derrick Hammer
|
6689c95eea
|
fix: need to store state vars outside proofData loop
|
2024-03-01 01:53:43 -05:00 |
Derrick Hammer
|
280e5b1d71
|
fix: strip key type prefix
|
2024-03-01 01:49:00 -05:00 |
Derrick Hammer
|
258031cb8f
|
fix: need to store state vars outside proofData loop
|
2024-03-01 01:41:15 -05:00 |
Derrick Hammer
|
578cdba32e
|
refactor: var rename
|
2024-03-01 01:36:18 -05:00 |
Derrick Hammer
|
8d7383c466
|
fix: check 1st byte of pubkey, not mhashType
|
2024-03-01 01:35:54 -05:00 |
Derrick Hammer
|
5b7d786662
|
fix: sigType and mhashType are int8
|
2024-03-01 01:31:22 -05:00 |
Derrick Hammer
|
429565562d
|
fix: need to implement MetadataTypeProof support
|
2024-03-01 01:24:20 -05:00 |
Derrick Hammer
|
7c3ef2ae86
|
feat: add decoding for MediaMetadata
|
2024-03-01 00:18:07 -05:00 |
Derrick Hammer
|
fd786ac3c1
|
refactor: make InitMarshaller signature consistent with InitUnmarshaller
|
2024-02-29 23:36:48 -05:00 |
Derrick Hammer
|
2bf906d31c
|
refactor: change InitUnmarshaller to accept a variable number of metadata types, see if any match, and return what was found
|
2024-02-29 23:35:52 -05:00 |
Derrick Hammer
|
7bd9cf11ae
|
refactor: add items methods for directoryReferenceMap and fileReferenceMap
|
2024-02-29 11:32:13 -05:00 |
Derrick Hammer
|
819f68f0d2
|
fix: use uint64
|
2024-01-18 12:31:47 -05:00 |
Derrick Hammer
|
13e5d5770b
|
fix: ude uint64
|
2024-01-18 12:27:45 -05:00 |
Derrick Hammer
|
a9834a81d3
|
fix: add json tags
|
2024-01-18 12:15:47 -05:00 |
Derrick Hammer
|
cf168f8e4d
|
testing: add TestWebAppMetadata_DecodeMsgpack
|
2024-01-18 12:10:42 -05:00 |
Derrick Hammer
|
01d695b175
|
testing: add TestWebAppMetadata_DecodeJSON with test webapp.bin
|
2024-01-18 12:09:34 -05:00 |
Derrick Hammer
|
6be36feabf
|
fix: if map is empty, create an empty one
|
2024-01-18 12:09:01 -05:00 |
Derrick Hammer
|
ea60d8f0cf
|
feat: implement EncodeMsgpack and DecodeMsgpack for WebAppMetadata
|
2024-01-18 12:06:47 -05:00 |
Derrick Hammer
|
6a967c3884
|
testing: add TestWebAppMetadata_EncodeJSON
|
2024-01-18 10:16:32 -05:00 |
Derrick Hammer
|
dfcfd80d93
|
testing: add TestDirectoryMetadata_EncodeJSON
|
2024-01-18 10:03:52 -05:00 |
Derrick Hammer
|
a3af7485a6
|
fix: need to marshall the actual encoded output
|
2024-01-18 10:03:17 -05:00 |
Derrick Hammer
|
4e78403658
|
fix: need to update FileReference struct so that URI and Key are omitted if empty
|
2024-01-18 10:02:30 -05:00 |
Derrick Hammer
|
113f24f4d8
|
fix: need to update directory struct so that EncryptionKey is nullable, and URI and Key are omitted if empty
|
2024-01-18 10:02:24 -05:00 |
Derrick Hammer
|
68200ae626
|
fix: add FileReference Equal
|
2024-01-18 09:15:07 -05:00 |
Derrick Hammer
|
e034e1096f
|
refactor: create constructors for FileHistoryMap and ExtMap
|
2024-01-17 14:22:43 -05:00 |
Derrick Hammer
|
47048ed2ab
|
refactor: use uint64
|
2024-01-17 14:12:18 -05:00 |
Derrick Hammer
|
f6e005c497
|
feat: add support for directories in GetMetadataByCID
|
2024-01-09 16:34:07 -05:00 |
Derrick Hammer
|
ed2a47fca3
|
refactor: rename CID decode to CIDFromString
|
2024-01-09 08:23:35 -05:00 |
Derrick Hammer
|
62bc189678
|
refactor: add empty metadata struct constructors
|
2024-01-09 08:16:42 -05:00 |
Derrick Hammer
|
2b3a5c98c2
|
fix: metadata structs need to inherit BaseMetadata
|
2024-01-09 08:16:14 -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
|
d708297651
|
fix: ContentType shouldnt be a pointer
|
2024-01-05 09:02:58 -05:00 |