pub fn require_bytes( map: &Map<String, Value>, key: &str, ) -> Result<Vec<u8>, RpcError>
Pull a byte field from the params map. Accepts a JSON string and decodes it as base64, or a JSON array of numbers.