docs: def decode_value(stream):
      """Decode the contents of a value from a serialized stream.
  
      :param stream: Source data stream
      :type stream: io.BytesIO
      :returns: Decoded value
      :rtype: bytes
      """
      length = decode_length(stream)
      (value,) = unpack_value(">{:d}s".format(length), stream)
      return value