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
I already have some draft code, but it compiles against an old version of FishyFlip, and migrating would require a replacement for ATRecord.FromCBORObject (which no longer exists or isn't public)
The text was updated successfully, but these errors were encountered:
CarDecoder.DecodeCar takes in a CAR and decodes it into record files which get exposed via OnCarDecoded as events. That would get you the ATObject's that exist within a CAR file.
usingvarblockStream=newMemoryStream(e.Bytes);varblockObj=CBORObject.Read(blockStream);if(blockObj["$type"]is not null){message.Record=blockObj.ToATObject();this.OnRecordReceived?.Invoke(this,newRecordMessageReceivedEventArgs(frameCommit,message.Record));}
You can create a CBORObject with CBORObject.Read and use .ToATObject(); to turn it into an ATObject.
If you need something else, feel free to file a bug.
I already have some draft code, but it compiles against an old version of FishyFlip, and migrating would require a replacement for
ATRecord.FromCBORObject
(which no longer exists or isn't public)The text was updated successfully, but these errors were encountered: