C# Class Skybound.Gecko.ByteArrayInputStream

Streams a byte array using nsIInputStream.
Inheritance: nsIInputStream
显示文件 Open project: tophatmonocle/DirtyGecko

Public Methods

Method Description
Available ( ) : uint
Close ( ) : void
Create ( byte data ) : ByteArrayInputStream
IsNonBlocking ( ) : bool
Read ( IntPtr aBuf, uint aCount ) : uint
ReadSegments ( nsWriteSegmentFun aWriter, IntPtr aClosure, uint aCount ) : uint

Private Methods

Method Description
ByteArrayInputStream ( byte data ) : System

Method Details

Available() public method

public Available ( ) : uint
return uint

Close() public method

public Close ( ) : void
return void

Create() public static method

public static Create ( byte data ) : ByteArrayInputStream
data byte
return ByteArrayInputStream

IsNonBlocking() public method

public IsNonBlocking ( ) : bool
return bool

Read() public method

public Read ( IntPtr aBuf, uint aCount ) : uint
aBuf System.IntPtr
aCount uint
return uint

ReadSegments() public method

public ReadSegments ( nsWriteSegmentFun aWriter, IntPtr aClosure, uint aCount ) : uint
aWriter nsWriteSegmentFun
aClosure System.IntPtr
aCount uint
return uint