|
| bool | pb_storage_file_init (PutBytesStorage *storage, PutBytesObjectType object_type, uint32_t total_size, PutBytesStorageInfo *info, uint32_t append_offset) |
| | Initialize storage, see pb_storage_init().
|
| |
| uint32_t | pb_storage_file_get_max_size (PutBytesObjectType object_type) |
| | Get the largest object size supported.
|
| |
| void | pb_storage_file_write (PutBytesStorage *storage, uint32_t offset, const uint8_t *buffer, uint32_t length) |
| | Write data, see pb_storage_write().
|
| |
| uint32_t | pb_storage_file_calculate_crc (PutBytesStorage *storage, PutBytesCrcType crc_type) |
| | Compute the CRC of the data written, see pb_storage_calculate_crc().
|
| |
| void | pb_storage_file_deinit (PutBytesStorage *storage, bool is_success) |
| | Release storage, see pb_storage_deinit().
|
| |