e-CryptIt Engine REALbasic Plugin

BinHexEncoderStream Class

To encode BinHex files use the AppleSingleEncoderStream class.

Object
   BinHexEncoderStream

class BinHexEncoderStream implements

IBinaryStreamReader

IBlockReader

Constructors

BinHexEncoderStreamOne of two constructors for the BinHexEncoderStream class.
BinHexEncoderStreamOne of two constructors for the BinHexEncoderStream class.

Properties

BufferThis property can be used to obtain or set the MemoryBlock that is used for a shared memory block based decoding.

Methods

BindTo bind the Encoder to a IBlockWriter stream then use the Bind method. To do such binding then let both streams share the same memory block and then call the Bind method.
CloseTo close the stream and flush buffers use the close method.
EncodeCall the Encode method in a loop to let the stream encode data.
EncodeBlockCall the EncodeBlock method in a loop to let the stream encode data.
EOFTo obtain information of the stream has reashed its end then use the EOF function.
LastErrorTo obtain the last error that occured then use the LastError function.
ProcessBoundBlockUse the ProcessBoundBlock in a loop to stream between two streams that have been bound together with the Bind method.
ReadCall the Read method in a loop to let the stream encode data.
ReadBlockCall the ReadBlock method in a loop to let the stream encode data.

Supported Platforms:

  • PPC - MacOS 9
  • Carbon - MacOS 9 and MacOS X (PEF)
  • MacOS X PPC - (Mach-O)
  • MacOS X Universal Binary (Mach-O)
  • Win32 - Windows
  • Linux x86