Skip to content

IOFileFormat<TFile>.WriteAsync Method

Overloads

Name Description
WriteAsync(IOFile, IBinaryWriter) Writes a file to a IBinaryWriter asynchronously.
WriteAsync(TFile, IBinaryWriter) Writes a strongly typed file to a stream.

WriteAsync(IOFile, IBinaryWriter)

Writes a file to a IBinaryWriter asynchronously.

protected sealed override ValueTask WriteAsync(IOFile file, IBinaryWriter writer);

View source

Parameters

Name Type Description
file IOFile The file to write.
writer IBinaryWriter The IBinaryWriter to write to.

Returns

ValueTask

WriteAsync(TFile, IBinaryWriter)

Writes a strongly typed file to a stream.

protected new abstract ValueTask WriteAsync(TFile file, IBinaryWriter writer);

Parameters

Name Type Description
file TFile The file to write.
writer IBinaryWriter The IBinaryWriter to write to.

Returns

ValueTask