public static T FromMemory <T>(this IRecordSerializer serializer, byte[] buffer) { return(serializer.FromMemory <T>(new ArraySegment <byte>(buffer))); }
public static object FromMemory(this IRecordSerializer serializer, byte[] buffer, Schema schema) { return(serializer.FromMemory(new ArraySegment <byte>(buffer), schema)); }