Skip to content
4 changes: 0 additions & 4 deletions c2pa_c_ffi/src/c2pa_stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ impl Read for C2paStream {
/// # Errors
/// * Returns an error if the buffer size exceeds `isize::MAX`
/// * Returns an error if the underlying C callback returns an error too (negative value)
/// ```
fn read(&mut self, buf: &mut [u8]) -> std::io::Result<usize> {
if buf.len() > isize::MAX as usize {
return Err(std::io::Error::new(
Expand Down Expand Up @@ -159,7 +158,6 @@ impl Seek for C2paStream {
///
/// # Errors
/// * Returns an error if the underlying C callback returns an error too (negative value)
/// ```
fn seek(&mut self, from: std::io::SeekFrom) -> std::io::Result<u64> {
let (pos, mode) = match from {
std::io::SeekFrom::Current(pos) => (pos, C2paSeekMode::Current),
Expand Down Expand Up @@ -188,7 +186,6 @@ impl Write for C2paStream {
/// # Errors
/// * Returns an error if the buffer size exceeds `isize::MAX`
/// * Returns an error if the underlying C callback returns an error too (negative value)
/// ```
fn write(&mut self, buf: &[u8]) -> std::io::Result<usize> {
if buf.len() > isize::MAX as usize {
return Err(std::io::Error::new(
Expand All @@ -212,7 +209,6 @@ impl Write for C2paStream {
///
/// # Errors
/// * Returns an error if the underlying C callback returns an error too (negative value)
/// ```
fn flush(&mut self) -> std::io::Result<()> {
let err = unsafe { (self.flusher)(&mut (*self.context)) };
if err < 0 {
Expand Down
239 changes: 0 additions & 239 deletions make_test_images/json_manifests/E-clm-CAICAI.json

This file was deleted.

Loading
Loading