(frames: &[Frame])
| 22 | } |
| 23 | |
| 24 | fn encode_frames(frames: &[Frame]) -> Bytes { |
| 25 | let mut bytes = Vec::new(); |
| 26 | bytes.extend_from_slice(&[DERIVATION_VERSION_0]); |
| 27 | for frame in frames { |
| 28 | bytes.extend_from_slice(&frame.encode()); |
| 29 | } |
| 30 | Bytes::from(bytes) |
| 31 | } |
| 32 | |
| 33 | impl FrameQueueBuilder { |
| 34 | /// Create a new [`FrameQueueBuilder`] instance. |
no test coverage detected