Square Files

SqFile New

Create a square file and write its header.

SqFile Open

Open a square file.

SqFile Read Dimensions

Read the header of a square file which contains its dimensions.

SqFile Read Squares

Read a set of squares from the file and reconstruct the joined array, which is assembled in a pre-allocated buffer.

SqFile Write Row

Replace a single row in a square file.

SqFile Write Squares

Write a row of squares to the file, consisting of an array that's sq x (sq*cols).