Ipelib
|
#include <ipebase.h>
Public Member Functions | |
Buffer ()=default | |
Buffer (int size) | |
Buffer (const char *data, int size) | |
char & | operator[] (int index) noexcept |
const char & | operator[] (int index) const noexcept |
int | size () const noexcept |
char * | data () noexcept |
const char * | data () const noexcept |
A memory buffer.
Can be be copied in constant time, the actual data is shared.
|
explicitdefault |
|
explicit |
Create buffer of specified size.
References size().
|
explicit |
|
inlinenoexcept |
Character access.
|
inlinenoexcept |
Character access (const version).
|
inlinenoexcept |
Return size of buffer;.
Referenced by Buffer(), ipe::DeflateStream::close(), ipe::PdfDict::dictRepr(), ipe::CairoPainter::doDrawBitmap(), ipe::Bitmap::embed(), ipe::Face::Face(), ipe::InflateSource::getChar(), ipe::BufferSource::getChar(), ipe::PdfDict::inflate(), ipe::BufferSource::length(), ipe::DeflateStream::putChar(), and ipe::PdfDict::write().
|
inlinenoexcept |
Return pointer to buffer data.
Referenced by ipe::Bitmap::Bitmap(), Buffer(), ipe::DeflateStream::close(), ipe::DeflateStream::deflate(), ipe::CairoPainter::doDrawBitmap(), ipe::Bitmap::embed(), ipe::Face::Face(), ipe::InflateSource::getChar(), ipe::InflateSource::InflateSource(), ipe::DeflateStream::putChar(), ipe::Bitmap::readPNG(), ipe::Thumbnail::render(), ipe::PdfThumbnail::render(), ipe::Bitmap::savePixels(), and ipe::Thumbnail::saveRender().
|
inlinenoexcept |
Return pointer to buffer data (const version).