Add Decoder::read_image_bytes, borrowed output
This commit is contained in:
1 parent
cc75d051af
commit
c746653269
2 files changed
+120
-27
No files matched your search
@@ -184,6 +184,9 @@ quick_error! {
|
||||
PredictorUnavailable {
|
||||
display("the requested predictor is not available")
|
||||
}
|
||||
InsufficientOutputBufferSize { needed: usize, provided: usize } {
|
||||
display("the borrowed output buffer is not large enough for the decoded data, needed {needed} but have {provided}")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user