Was this page helpful?

Pad Extension Method

    Pad(this Stream stream, long count, byte value, Result result)

    public static Result Pad(this Stream stream, long count, byte value, Result result);
    Asychronously Pad a stream with a sequence of bytes

    Parameters

    Name Type Description
    stream Stream Target System.IO.Stream
    count long Number of bytes to pad
    value byte Byte value to use for padding
    result Result The MindTouch.Tasking.Result instance to be returned by the call.

    Returns

    Type: Result
    Synchronization handle for completion of padding action.
    Was this page helpful?
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by