pub fn parse_bytes_hex(s: &str, writer: &mut impl Write) -> Result<(), String>
Refer to https://www.postgresql.org/docs/current/datatype-binary.html#id-1.5.7.12.10 for specification.