MCPcopy Index your code
hub / github.com/googleapis/google-api-python-client / getbytes

Method getbytes

googleapiclient/http.py:344–355  ·  view source on GitHub ↗

Get bytes from the media. Args: begin: int, offset from beginning of file. length: int, number of bytes to read, starting at begin. Returns: A string of bytes read. May be shorter than length if EOF was reached first.

(self, begin, end)

Source from the content-addressed store, hash-verified

342 return False
343
344 def getbytes(self, begin, end):
345 """Get bytes from the media.
346
347 Args:
348 begin: int, offset from beginning of file.
349 length: int, number of bytes to read, starting at begin.
350
351 Returns:
352 A string of bytes read. May be shorter than length if EOF was reached
353 first.
354 """
355 raise NotImplementedError()
356
357 def has_stream(self):
358 """Does the underlying upload support a streaming interface.

Callers 2

next_chunkMethod · 0.45
methodFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected