Append a chunk verbatim. `WriteMultipart` uploads completed parts in the background, so memory stays bounded regardless of total size.
(&mut self, chunk: &[u8])
| 35 | /// Append a chunk verbatim. `WriteMultipart` uploads completed parts in the background, so |
| 36 | /// memory stays bounded regardless of total size. |
| 37 | pub fn write(&mut self, chunk: &[u8]) { |
| 38 | self.writer.write(chunk); |
| 39 | self.hasher.update(chunk); |
| 40 | self.size += chunk.len() as u64; |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | const MOD_METADATA_FILE: &str = "mod.json"; |
no test coverage detected