pub fn serialize_bank_snapshot_into<W>(
stream: &mut BufWriter<W>,
bank_fields: BankFieldsToSerialize,
bank_hash_stats: BankHashStats,
accounts_delta_hash: AccountsDeltaHash,
accounts_hash: AccountsHash,
account_storage_entries: &[Vec<Arc<AccountStorageEntry>>],
extra_fields: ExtraFieldsToSerialize<'_>,
write_version: StoredMetaWriteVersion,
) -> Result<(), Error>where
W: Write,
Expand description
Serializes bank snapshot into stream
with bincode