ISupportBinaryImageExtensionsCopyBinaryImageToStream Method
Namespace: Gemstone.IO.ParsingAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.141 -- Release Build+8fc1477299d57116e2a4f3cb8dfe059f814b239b
public static void CopyBinaryImageToStream(
this ISupportBinaryImage imageSource,
Stream stream,
bool clearArray = false
)
<ExtensionAttribute>
Public Shared Sub CopyBinaryImageToStream (
imageSource As ISupportBinaryImage,
stream As Stream,
Optional clearArray As Boolean = false
)
public:
[ExtensionAttribute]
static void CopyBinaryImageToStream(
ISupportBinaryImage^ imageSource,
Stream^ stream,
bool clearArray = false
)
Gemstone.IO.Parsing.ISupportBinaryImageExtensions.CopyBinaryImageToStream = function(imageSource, stream, clearArray);
- imageSource ISupportBinaryImage
- The source object implementing ISupportBinaryImage whose binary image will be copied.
- stream Stream
- The Stream to which the binary image will be written.
- clearArray Boolean (Optional)
-
Clears any rented buffers of their contents so that a subsequent consumer will not
see the previous consumer's content. If false, default, the array's contents
are left unchanged.
In Visual Basic and C#, you can call this method as an instance method on any object of type
ISupportBinaryImage. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
ArgumentNullException | Thrown if imageSource or stream is null. |