GPGME::GpgmeData (Class)

In: lib/gpgme.rb
Parent: Object

A class for managing data buffers.

Methods

data_type   encoding   encoding=   new   new_from_mem   read   rewind   write  

Constants

BLOCK_SIZE = 4096

Public Class methods

Create a new GpgmeData instance.

Create a new GpgmeData instance with internal buffer.

Public Instance methods

Return the type of the underlying data.

Return the encoding of the underlying data.

Set the encoding of the underlying data.

Read bytes from this object. If len is supplied, it causes this method to read up to the number of bytes.

Reset the read pointer.

Write bytes into this object. If len is supplied, it causes this method to write up to the number of bytes.

[Validate]