class_docstr: Parser class for connections using Hiredis
class_docstr_tok: ["Parser","class","for","connections","using","Hiredis"]
code: def __init__(self, socket_read_size):
      if not HIREDIS_AVAILABLE:
          raise RedisError("Hiredis is not installed")
      self.socket_read_size = socket_read_size
      self._buffer = bytearray(socket_read_size)
  
imports: import asyncio
  import socket
  import sys
  from typing import Callable, List, Optional, TypedDict, Union
  from ..exceptions import ConnectionError, InvalidResponse, RedisError
  from ..typing import EncodableT
  from ..utils import HIREDIS_AVAILABLE
  from .base import AsyncBaseParser, BaseParser
  from .socket import NONBLOCKING_EXCEPTION_ERROR_NUMBERS, NONBLOCKING_EXCEPTIONS, SENTINEL, SERVER_CLOSED_CONNECTION_ERROR
label_desc: Use image node_id 1 to create a new _HiredisParser object from inherited base classes: BaseParser with example: obj = _HiredisParser(socket_read_size)