/// <summary> /// Write a DataTable to the network stream's packet. /// </summary> /// <param name="dt"></param> public void Write(DataTable dt) { RawDataTable.Serialize(serializer, dt); }
/// <summary> /// Read a DataTable from the network stream's packet. /// </summary> /// <returns></returns> public DataTable ReadDataTable() { DataTable dt = RawDataTable.Deserialize(deserializer); return(dt); }