Value:
bool read(type* out_read) { \ return read(sizeof(type), out_read); \ }
bool write(type in_write) { \ return write(sizeof(type), &in_write); \ }
bool read(type* out_read) { \ type temp; \ bool success = read(sizeof(type), &temp); \ *out_read = convertLEndianToHost(temp); \ return success; \ }
bool write(type in_write) { \ type temp = convertHostToLEndian(in_write); \ return write(sizeof(type), &temp); \ }