Searched refs:T (Results 1 – 8 of 8) sorted by relevance
83 let val = cursor.read_u16::<T>()?; in read_u16()89 let val = cursor.read_u24::<T>()?; in read_u24()95 Ok(cursor.read_u24::<T>()?) in advance_u24()100 let val = cursor.read_u32::<T>()?; in read_u32()107 let val = cursor.read_u48::<T>()?; in read_u48()114 let val = cursor.read_f64::<T>()?; in read_f64()121 let val = cursor.read_u64::<T>()?; in read_u64()219 self.bytes_reader.read_u16::<T>() in read_u16()224 self.bytes_reader.read_u24::<T>() in read_u24()234 self.bytes_reader.read_u32::<T>() in read_u32()[all …]
71 pub fn write_u16<T: ByteOrder>(&mut self, bytes: u16) -> Result<(), BytesWriteError> { in write_u16()72 self.bytes.write_u16::<T>(bytes)?; in write_u16()76 pub fn write_u24<T: ByteOrder>(&mut self, bytes: u32) -> Result<(), BytesWriteError> { in write_u24()77 self.bytes.write_u24::<T>(bytes)?; in write_u24()83 self.bytes.write_u32::<T>(bytes)?; in write_u32()88 self.bytes.write_f64::<T>(bytes)?; in write_f64()93 self.bytes.write_u64::<T>(bytes)?; in write_u64()172 self.bytes_writer.write_u16::<T>(bytes) in write_u16()176 self.bytes_writer.write_u24::<T>(bytes) in write_u24()180 self.bytes_writer.write_u32::<T>(bytes) in write_u32()[all …]
15 pub trait Marshal<T> {16 fn marshal(&self) -> T; in marshal() argument
22 pub trait Marshal<T> {23 fn marshal(&self) -> T; in marshal() argument81 pub async fn split_annexb_and_process<T: TVideoPacker>( in split_annexb_and_process()83 packer: &mut T, in split_annexb_and_process() argument
14 type Result<T> = std::result::Result<T, GenericError>;
11 type Result<T> = std::result::Result<T, GenericError>;
24 pub type Result<T> = std::result::Result<T, WebRTCError>;
25 pub type Result<T> = std::result::Result<T, WebRTCError>;