FileByteStream Class

Definition

Line 35 of System.Base/FileByteStream.cm

Inheritance

Constructors & Destructor

public nothrow FileByteStream(FileByteStream&& that)
suppress FileByteStream(const FileByteStream&)
public FileByteStream(const String<char>& filePath, OpenMode openMode)
public FileByteStream(int handle)
public override ~FileByteStream()

Member Functions

public void Close()
public override void Flush()
public inline nothrow bool IsOpen() const
public void Open(const String<char>& filePath, OpenMode openMode)
public override long Read(byte* buffer, long count)
public override int ReadByte()
public override void Seek(long pos, Origin origin)
public override long Tell()
public override void Write(byte x)
public override void Write(byte* buffer, long count)
suppress void operator=(const FileByteStream&)

Member Variables

private void* file

Constructor& Destructor Details

FileByteStream Constructor

public nothrow FileByteStream(FileByteStream&& that)

Definition
Line 54 of System.Base/FileByteStream.cm


FileByteStream Constructor

suppress FileByteStream(const FileByteStream&)

Definition
Line 52 of System.Base/FileByteStream.cm


FileByteStream Constructor

public FileByteStream(const String<char>& filePath, OpenMode openMode)

Definition
Line 48 of System.Base/FileByteStream.cm


FileByteStream Constructor

public FileByteStream(int handle)

Definition
Line 37 of System.Base/FileByteStream.cm


~FileByteStream Destructor

public override ~FileByteStream()

Definition
Line 59 of System.Base/FileByteStream.cm


Member Function Details

Close Member Function

public void Close()

Definition
Line 89 of System.Base/FileByteStream.cm


Flush Member Function

public override void Flush()

Definition
Line 188 of System.Base/FileByteStream.cm


IsOpen Member Function

public inline nothrow bool IsOpen()

Definition
Line 73 of System.Base/FileByteStream.cm


Open Member Function

public void Open(const String<char>& filePath, OpenMode openMode)

Definition
Line 77 of System.Base/FileByteStream.cm


Read Member Function

public override long Read(byte* buffer, long count)

Definition
Line 125 of System.Base/FileByteStream.cm


ReadByte Member Function

public override int ReadByte()

Definition
Line 103 of System.Base/FileByteStream.cm


Seek Member Function

public override void Seek(long pos, Origin origin)

Definition
Line 166 of System.Base/FileByteStream.cm


Tell Member Function

public override long Tell()

Definition
Line 176 of System.Base/FileByteStream.cm


Write Member Function

public override void Write(byte x)

Definition
Line 141 of System.Base/FileByteStream.cm


Write Member Function

public override void Write(byte* buffer, long count)

Definition
Line 151 of System.Base/FileByteStream.cm


operator= Member Function

suppress void operator=(const FileByteStream&)

Definition
Line 53 of System.Base/FileByteStream.cm