diff options
| author | Yuval Adam <_@yuv.al> | 2021-04-18 11:10:52 +0300 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2021-04-18 11:10:52 +0300 |
| commit | 4271c0e5e6ea1ccc5f57500530c772636dd08736 (patch) | |
| tree | 3a73f58caa238b66cee24df82c0c05de425da2d0 /src/lib.rs | |
| parent | 4f1cb5305cb5de9cfd854af5f908989f3727f0f1 (diff) | |
Add read_sync placeholder
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -135,6 +135,10 @@ impl RtlSdr { pub fn reset_buffer(&self) { self.handle.reset_buffer(); } + + pub fn read_sync(&self, len: usize) -> Vec<u8> { + return Vec::with_capacity(len); + } } #[cfg(test)] |
