mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-22 09:38:01 +02:00
Change to allow working in installer
This commit is contained in:
parent
5c813f31ec
commit
463e26ff75
19 changed files with 571 additions and 57 deletions
|
@ -8,13 +8,6 @@ namespace System.IO
|
|||
{
|
||||
protected Platform.BfpFile* mBfpFile;
|
||||
|
||||
public enum SeekKind
|
||||
{
|
||||
Absolute,
|
||||
Relative,
|
||||
FromEnd
|
||||
};
|
||||
|
||||
public override int64 Position
|
||||
{
|
||||
get
|
||||
|
@ -41,7 +34,7 @@ namespace System.IO
|
|||
Close();
|
||||
}
|
||||
|
||||
public Result<void> Seek(int64 pos, SeekKind seekKind = .Absolute)
|
||||
public override Result<void> Seek(int64 pos, SeekKind seekKind = .Absolute)
|
||||
{
|
||||
int64 newPos = Platform.BfpFile_Seek(mBfpFile, pos, (Platform.BfpFileSeekKind)seekKind);
|
||||
// Ensure position is what was requested
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue