Initial commit

This commit is contained in:
CheddarCrisp 2024-01-09 17:32:46 -05:00
commit 3cc7d54907
9 changed files with 605 additions and 0 deletions

View file

@ -0,0 +1,6 @@
namespace SDBD;
public record Document(
Dictionary<string, string> Metadata,
byte[] Data
);

6
SDBD.Contract/ICodec.cs Normal file
View file

@ -0,0 +1,6 @@
namespace SDBD;
public interface ICodec {
Document Decode(byte[] data);
byte[] Encode(Document document);
}

View file

@ -0,0 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
</Project>