We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 759f2fc commit ab777ceCopy full SHA for ab777ce
crates/vdo/src/lib.rs
@@ -320,6 +320,10 @@ impl<'a> Frame<'a> {
320
pub fn size(&self) -> usize {
321
unsafe { vdo_frame_get_size(self.raw) }
322
}
323
+
324
+ pub fn get_type(&self) -> VdoFrameType {
325
+ unsafe { vdo_frame_get_frame_type(self.raw) }
326
+ }
327
328
329
pub struct Buffer {
0 commit comments