mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-24 12:35:31 +00:00
apply patch 16367
by VirusFree: this is a fixed patch for the fatstream
This commit is contained in:
parent
b4d823463b
commit
930fcadba2
1 changed files with 10 additions and 3 deletions
|
|
@ -57,8 +57,11 @@ namespace Cosmos.System.Filesystem.FAT {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public override int Read(byte[] aBuffer, Int64 aOffset, Int64 aCount)
|
public override int Read(byte[] aBuffer, int aOffset, int aCount) {
|
||||||
{
|
return Read(aBuffer , (Int64)aOffset , (Int64)aCount);
|
||||||
|
}
|
||||||
|
|
||||||
|
public int Read(byte[] aBuffer, Int64 aOffset, Int64 aCount) {
|
||||||
if (aCount < 0) {
|
if (aCount < 0) {
|
||||||
throw new ArgumentOutOfRangeException("aCount");
|
throw new ArgumentOutOfRangeException("aCount");
|
||||||
}
|
}
|
||||||
|
|
@ -119,7 +122,11 @@ namespace Cosmos.System.Filesystem.FAT {
|
||||||
throw new NotImplementedException();
|
throw new NotImplementedException();
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void Write(byte[] buffer, int offset, int count) {
|
public override void Write(byte[] aBuffer, int aOffset, int aCount) {
|
||||||
|
Write(aBuffer , (long)aOffset , (long)aCount);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Write(byte[] buffer, long offset, long count) {
|
||||||
throw new NotImplementedException();
|
throw new NotImplementedException();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue