code: def __init__(
      self,
      socket: socket.socket,
      socket_read_size: int,
      socket_timeout: float,
  ):
      self._sock = socket
      self.socket_read_size = socket_read_size
      self.socket_timeout = socket_timeout
      self._buffer = io.BytesIO()
  
file_path: catboost/contrib/python/redis/py3/redis/_parsers/socket.py
imports: import errno
  import io
  import socket
  from io import SEEK_END
  from typing import Optional, Union
  from ..exceptions import ConnectionError, TimeoutError
  from ..utils import SSL_AVAILABLE
label_desc: Use image node_id 1 to create a new SocketBuffer object  with example: obj = SocketBuffer(socket, socket_read_size, socket_timeout)