class_docstr: An object with a subset of pathlib.Path methods suitable for
  traversing directories and opening files.
  
  Any exceptions that occur when accessing the backing resource
  may propagate unaltered.
docstr: Read contents of self as bytes
docstr_tok: ["Read","contents","of","self","as","bytes"]
code: def read_bytes(self) -> bytes:
      """
      Read contents of self as bytes
      """
      with self.open("rb") as strm:
          return strm.read()
  
imports: import abc
  import io
  import itertools
  import pathlib
  from typing import Any, BinaryIO, Iterable, Iterator, NoReturn, Text, Optional
  from ._compat import runtime_checkable, Protocol, StrPath
label_desc: Use image node_id 2 for calling the Traversable obj's underlying member method code with example usage: obj.read_bytes() and returns: strm