Methods and properties, provided by BinaryXtra wrapper:
Binary data wrapper is a key component of BinaryXtra. It is used to hold any binary data.
General binary data support methods and properties:
objBinary.Allocate(newSize) - allocates a block of memory of the specified size.
objBinary.byte[index] - indexed property for direct access to the bytes of binary data.
objBinary.Clear() - clears any current wrapper contents.
objBinary.Size - the size in bytes of the contained binary data.
String(objBinary) - returns the text representation of the binary data.
objBinary.HexString() - returns the hexadecimal text representation of the binary data.
File input/output support methods:
objBinary.ReadFromFile(fileName) - initializes the wrapper with a binary contents of the specified file.
objBinary.WriteToFile(fileName) - saves the contained binary data into the specified file.
Media and picture support properties:
objBinary.Media - allows storing cast members' media in a binary wrapper
objBinary.Picture - allows storing cast members' picture data in a binary wrapper
Error handling properties:
objBinary.DebugMode - gets or sets debugging mode of the wrapper instance.
objBinary.Succeeded - returns true if previous wrapper access to the binary data has succeeded.
objBinary.Failed - returns true if previous wrapper access to the binary data has failed.
objBinary.LastError - returns the last error description if any.
Autodocumentation feature:
interface(objBinary) - returns a string with quick help information.
Overrided standard Lingo commands:
put objAuto - puts a brief information about wrapper and wrapped data.
|