pub fn encode<Ctx, E>(
ctx: Ctx,
errors: &E,
order: ByteOrder,
bom: bool,
) -> Result<Vec<u8>, Ctx::Error>where
Ctx: EncodeContext,
E: EncodeErrorHandler<Ctx>,pub fn encode<Ctx, E>(
ctx: Ctx,
errors: &E,
order: ByteOrder,
bom: bool,
) -> Result<Vec<u8>, Ctx::Error>where
Ctx: EncodeContext,
E: EncodeErrorHandler<Ctx>,