(
&self,
sep: OptionalArg<Either<PyStrRef, PyBytesRef>>,
bytes_per_sep: OptionalArg<isize>,
vm: &VirtualMachine,
)
| 425 | } |
| 426 | |
| 427 | pub fn hex( |
| 428 | &self, |
| 429 | sep: OptionalArg<Either<PyStrRef, PyBytesRef>>, |
| 430 | bytes_per_sep: OptionalArg<isize>, |
| 431 | vm: &VirtualMachine, |
| 432 | ) -> PyResult<String> { |
| 433 | bytes_to_hex(self.elements.as_slice(), sep, bytes_per_sep, vm) |
| 434 | } |
| 435 | |
| 436 | pub fn fromhex(bytes: &[u8], vm: &VirtualMachine) -> PyResult<Vec<u8>> { |
| 437 | let mut iter = bytes.iter().enumerate(); |
nothing calls this directly
no test coverage detected