You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Per @wader 's comment in the original PR, it would be nice to add an option for bplist decoding to display time values as timestamps instead of just CocoaDate floating point values in torepr/tovalue representations (and maybe elsewhere?).
The text was updated successfully, but these errors were encountered:
wader
changed the title
Apple Binary Property List Enhancement: TImestamps
Apple Binary Property List Enhancement: Timestamps
Oct 10, 2022
Not at the moment, should add something. But it should no more than add a *In struct to format.go with "doc" struct field tags, there is also *Out struct:s for decoder who output, not that common. Then in the decoders decode.Format struct fill in the DecodeInArg field with default values and add a type assert for the in arg in the decode function, hope that is all. Maybe mp3.go is a good example. After that the rest of fq's code should take care of help texts and make it possible pass the option in a object to the decode function (key as snake_case).
About what to name the options there no conventions yet, try come up with something an will see how it feels.
Per @wader 's comment in the original PR, it would be nice to add an option for bplist decoding to display time values as timestamps instead of just CocoaDate floating point values in
torepr
/tovalue
representations (and maybe elsewhere?).The text was updated successfully, but these errors were encountered: