mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-05 15:28:28 +01:00
Upgraded Protobuf, and added api support for it
This commit is contained in:
parent
de74609784
commit
cb7f04e4d3
@@ -8,6 +8,11 @@ namespace MediaBrowser.ApiInteraction
|
||||
/// </summary>
|
||||
public interface IDataSerializer
|
||||
{
|
||||
T DeserializeFromStream<T>(Stream stream);
|
||||
T DeserializeJsonFromStream<T>(Stream stream);
|
||||
T DeserializeJsvFromStream<T>(Stream stream);
|
||||
T DeserializeProtobufFromStream<T>(Stream stream);
|
||||
|
||||
bool CanDeserializeJsv { get; }
|
||||
bool CanDeserializeProtobuf { get; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user