Project

General

Profile

« Previous | Next » 

Revision b9e0021b

Added by skyjake over 10 years ago

Cleanup|Savegame Tool: Unnecessary use of char[]

Block is already a "raw" buffer of bytes, so there is no need to
have another buffer just for access to the raw bytes.

Block also automatically zero-terminates the content (the byte
following its actual contents).

Block automatically expands when writing adjacent to its end so there
is no need to reserve size beforehand.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences