15 lines
399 B
C#
15 lines
399 B
C#
|
|
namespace MessagePack.Formatters
|
|
{
|
|
// marker
|
|
public interface IMessagePackFormatter
|
|
{
|
|
|
|
}
|
|
|
|
public interface IMessagePackFormatter<T> : IMessagePackFormatter
|
|
{
|
|
int Serialize(ref byte[] bytes, int offset, T value, IFormatterResolver formatterResolver);
|
|
T Deserialize(byte[] bytes, int offset, IFormatterResolver formatterResolver, out int readSize);
|
|
}
|
|
}
|