Get bytes from file at given position. This requires the file to be opened with ModeBinary or ModeRandom.

Namespace: BasicCard.BasicCards.FileSys
Assembly: BasicCard (in BasicCard.dll) Version: 2.5.2.0 (2.5.2.0)

Syntax

C#
public byte[] FileGetPos(
	int fileNumber,
	int position,
	int length
)
Visual Basic
Public Function FileGetPos ( 
	fileNumber As Integer,
	position As Integer,
	length As Integer
) As Byte()
Visual C++
public:
array<unsigned char>^ FileGetPos(
	int fileNumber, 
	int position, 
	int length
)
F#
member FileGetPos : 
        fileNumber : int * 
        position : int * 
        length : int -> byte[] 

Parameters

fileNumber
Type: System..::..Int32
file number
position
Type: System..::..Int32
position for read operation
length
Type: System..::..Int32
number of bytes requested

Return Value

Type: array<Byte>[]()[][]
bytes read from file

See Also