C# Class Ipfs.IpfsStream

Inheritance: System.IO.Stream
Afficher le fichier Open project: TrekDev/net-ipfs-api Class Usage Examples

Méthodes publiques

Méthode Description
Flush ( ) : void
IpfsStream ( string name, Stream stream ) : System.IO

A stream to a given file with file name

Read ( byte buffer, int offset, int count ) : int
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
Write ( byte buffer, int offset, int count ) : void

Method Details

Flush() public méthode

public Flush ( ) : void
Résultat void

IpfsStream() public méthode

A stream to a given file with file name
public IpfsStream ( string name, Stream stream ) : System.IO
name string The file name
stream System.IO.Stream The stream to the file
Résultat System.IO

Read() public méthode

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
Résultat int

Seek() public méthode

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
Résultat long

SetLength() public méthode

public SetLength ( long value ) : void
value long
Résultat void

Write() public méthode

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
Résultat void