Differences From Artifact [a0f881f925]:
- File src/OFBytesValue.m — part of check-in [374e1a1bfa] at 2021-01-02 22:04:26 on branch trunk — Update copyright (user: js, size: 1222) [annotate] [blame] [check-ins using] [more...]
To Artifact [5fd2ddb8ad]:
- File src/OFBytesValue.m — part of check-in [1b82d3bf4f] at 2021-03-07 20:25:21 on branch trunk — *.m: Fold methods into one line where it fits (user: js, size: 1217) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
43 44 45 46 47 48 49 | - (void)dealloc { free(_bytes); [super dealloc]; } | | < | 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | - (void)dealloc { free(_bytes); [super dealloc]; } - (void)getValue: (void *)value size: (size_t)size { if (size != _size) @throw [OFOutOfRangeException exception]; memcpy(value, _bytes, _size); } @end |