Mock codec

This commit is contained in:
CheddarCrisp 2024-01-09 17:55:29 -05:00
parent 0b0d074cf6
commit 4412cba9f6

View file

@ -2,10 +2,15 @@
public class Codec : ICodec {
public Document Decode(byte[] data) {
return new(new (), new byte[0]);
return new(
new () {
{ "content-name", "text.txt" }
},
data
);
}
public byte[] Encode(Document document) {
return new byte[0];
return document.Data;
}
}