18 Ağustos 2016 Perşembe

iostreams

Giriş
Sıkıştırma işlemleri için iostreams kütüphanesi ile linklemek gerekir. Derlemek için şöyle yaparız.
./bootstrap.sh --prefix=/home/myhome/boost --with-libraries=...,iostreams,...
Free Style Metodlar
copy metodu
Şu satırı dahil ederiz.
#include <boost/iostreams/copy.hpp>
input stream'i output stream'e kopyalar. Şöyle yaparız.
boost::iostreams::filtering_streambuf<boost::iostreams::input> inbuf = ...;
std::ostream tempfile = ...;
boost::iostreams::copy(inbuf, tempfile); 

10 Ağustos 2016 Çarşamba

asio windows random_access_handle Sınıfı

Giriş
Açıklaması şöyle
Boost.Asio provides Windows-specific classes that permit asynchronous read and write operations to be performed on HANDLEs that refer to regular files.