public static StreamTablePacketDTO UnzipStream (QueryTablePacketDTO sourcePacket, byte[] inputBuffer = null, byte[] outputBuffer = null) { var stream = UnzipStream(sourcePacket.BinaryBody, ref inputBuffer, ref outputBuffer); var result = new StreamTablePacketDTO { RowCount = sourcePacket.RowCount, Stream = stream, InputBuffer = inputBuffer, OutputBuffer = outputBuffer, IsArchive = sourcePacket.IsArchive }; return(result); }
public static void DeserializeBodyPacket(StreamTablePacketDTO packet, Type[] types, AvrDataTable table) { Utils.CheckNotNull(packet, "packet"); DeserializeBodyPacket(packet.RowCount, types, table, packet.StreamCreator); }