Classes for parsing and saving binary data