Trait BCodeWriter
Source pub trait BCodeWriter {
// Required methods
fn recenter_nonneg(&mut self, r: u16, v: u16) -> u16;
fn recenter_finite_nonneg(&mut self, n: u16, r: u16, v: u16) -> u16;
fn write_quniform(&mut self, n: u16, v: u16) -> Result<(), Error>;
fn write_subexpfin(&mut self, n: u16, k: u16, v: u16) -> Result<(), Error>;
fn write_refsubexpfin(
&mut self,
n: u16,
k: u16,
r: i16,
v: i16,
) -> Result<(), Error>;
fn write_s_refsubexpfin(
&mut self,
n: u16,
k: u16,
r: i16,
v: i16,
) -> Result<(), Error>;
}
§Errors
- Returns
std::io::Error
if the writer cannot be written to.
§Errors
- Returns
std::io::Error
if the writer cannot be written to.
§Errors
- Returns
std::io::Error
if the writer cannot be written to.
§Errors
- Returns
std::io::Error
if the writer cannot be written to.