public byte[] SerializeToByteArray(object obj) { return(ProtobufHelper.ToBytes(obj)); }
public T DeserializeFrom <T>(byte[] bytes, int index, int count) { return(ProtobufHelper.FromBytes <T>(bytes, index, count)); }
public T DeserializeFrom <T>(byte[] bytes) { return(ProtobufHelper.FromBytes <T>(bytes)); }
public object DeserializeFrom(Type type, byte[] bytes, int index, int count) { return(ProtobufHelper.FromBytes(type, bytes, index, count)); }
public object DeserializeFrom(Type type, Stream stream) { return(ProtobufHelper.FromStream(type, stream)); }
public object DeserializeFrom(Type type, byte[] bytes) { return(ProtobufHelper.FromBytes(type, bytes)); }