Settings and final newlines
This commit is contained in:
parent
3cc7d54907
commit
0b0d074cf6
4 changed files with 7 additions and 3 deletions
4
.vscode/settings.json
vendored
Normal file
4
.vscode/settings.json
vendored
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
{
|
||||||
|
"editor.tabSize": 2,
|
||||||
|
"files.insertFinalNewline": true
|
||||||
|
}
|
|
@ -3,4 +3,4 @@ namespace SDBD;
|
||||||
public record Document(
|
public record Document(
|
||||||
Dictionary<string, string> Metadata,
|
Dictionary<string, string> Metadata,
|
||||||
byte[] Data
|
byte[] Data
|
||||||
);
|
);
|
||||||
|
|
|
@ -3,4 +3,4 @@
|
||||||
public interface ICodec {
|
public interface ICodec {
|
||||||
Document Decode(byte[] data);
|
Document Decode(byte[] data);
|
||||||
byte[] Encode(Document document);
|
byte[] Encode(Document document);
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,4 +24,4 @@ if(encode) {
|
||||||
["-e", var filename] => (true, filename),
|
["-e", var filename] => (true, filename),
|
||||||
_ => throw new Exception("I don't like those arguments")
|
_ => throw new Exception("I don't like those arguments")
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue