C# Class PHP.Core.ExternalStream

Represents a native PHP stream that lives in ExtManager.
Inheritance: PhpStream
Mostra file Open project: jadu/Phalanger

Public Methods

Method Description
Stat ( ) : PHP.Core.StatStruct

Returns the status array for the stram.

Protected Methods

Method Description
FreeManaged ( ) : void

Closes the stream.

RawFlush ( ) : bool
RawRead ( byte buffer, int offset, int count ) : int
RawSeek ( int offset, SeekOrigin whence ) : bool
RawTell ( ) : int

Gets the current position in the stream.

RawWrite ( byte buffer, int offset, int count ) : int

Private Methods

Method Description
ExternalStream ( IExternalStream proxy, StreamWrapper openingWrapper, StreamAccessOptions accessOptions, string openedPath, PHP.Core.StreamContext context ) : System

Creates a new ExternalStream with the given proxy object.

Method Details

FreeManaged() protected method

Closes the stream.
protected FreeManaged ( ) : void
return void

RawFlush() protected method

protected RawFlush ( ) : bool
return bool

RawRead() protected method

protected RawRead ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
return int

RawSeek() protected method

protected RawSeek ( int offset, SeekOrigin whence ) : bool
offset int
whence SeekOrigin
return bool

RawTell() protected method

Gets the current position in the stream.
protected RawTell ( ) : int
return int

RawWrite() protected method

protected RawWrite ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
return int

Stat() public method

Returns the status array for the stram.
public Stat ( ) : PHP.Core.StatStruct
return PHP.Core.StatStruct