Home
last modified time | relevance | path

Searched refs:T (Results 1 – 8 of 8) sorted by relevance

/xiu/library/bytesio/src/
H A Dbytes_reader.rs83 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 …]
H A Dbytes_writer.rs71 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 …]
/xiu/library/container/flv/src/
H A Dlib.rs15 pub trait Marshal<T> {
16 fn marshal(&self) -> T; in marshal() argument
/xiu/protocol/rtsp/src/rtp/
H A Dutils.rs22 pub trait Marshal<T> {
23 fn marshal(&self) -> T; in marshal() argument
81 pub async fn split_annexb_and_process<T: TVideoPacker>( in split_annexb_and_process()
83 packer: &mut T, in split_annexb_and_process() argument
/xiu/protocol/httpflv/src/
H A Dserver.rs14 type Result<T> = std::result::Result<T, GenericError>;
/xiu/protocol/hls/src/
H A Dserver.rs11 type Result<T> = std::result::Result<T, GenericError>;
/xiu/protocol/webrtc/src/
H A Dwhip.rs24 pub type Result<T> = std::result::Result<T, WebRTCError>;
H A Dwhep.rs25 pub type Result<T> = std::result::Result<T, WebRTCError>;