Changes

546 bytes added ,  08:33, 16 January 2016
Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x0C010100] |- | 1-2 | u64, File Offset |- | 3-4 | u64, Size |} =Response= {|..."
=Request=
{| class="wikitable" border="1"
|-
! Index Word
! Description
|-
| 0
| Header code [0x0C010100]
|-
| 1-2
| u64, File Offset
|-
| 3-4
| u64, Size
|}

=Response=
{| class="wikitable" border="1"
|-
! Index Word
! Description
|-
| 0
| Header code
|-
| 1
| Result code
|-
| 2-3
| u64, Number of available bytes
|}

=Description=
Gets the number of available bytes to read from an offset, up to the provided size value. Internally, this loops calling [[FSFile:Read]] until either the provided size value or the end of the file is reached.
1,434

edits