e-CryptIt Engine REALbasic Plugin

AppleSingleEncoderStream Class

To encode AppleSingle and AppleDouble files use the AppleSingleEncoderStream class.

Object
   AppleSingleEncoderStream

class AppleSingleEncoderStream implements

IBinaryStreamReader

IBlockReader

Constructors

AppleSingleEncoderStreamOne of 3 Constructors for the AppleSingleEncoderStream class.
AppleSingleEncoderStreamOne of 3 Constructors for the AppleSingleEncoderStream class.
AppleSingleEncoderStreamOne of 3 Constructors for the AppleSingleEncoderStream class.

Properties

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

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)

    Unsupported Platforms:

  • Win32 - Windows
  • Linux x86