# uproot.deserialization.numbytes_version

Defined in [uproot.deserialization](https://github.com/scikit-hep/uproot/blob/f1299d71fa4f435b1901386346c8a42adbd72642/src/uproot/deserialization.py) on [line 111](https://github.com/scikit-hep/uproot/blob/f1299d71fa4f435b1901386346c8a42adbd72642/src/uproot/deserialization.py#L111).

### uproot.deserialization.numbytes_version(chunk, cursor, context, move=True)

* **Parameters:**
  * **chunk** ([uproot.source.chunk.Chunk](uproot.source.chunk.Chunk.html.md)) – Buffer of contiguous data
    from the file [uproot.source.chunk.Source](uproot.source.chunk.Source.html.md).
  * **cursor** ([uproot.Cursor](uproot.source.cursor.Cursor.html.md)) – Current position in
    that `chunk`.
  * **context** (*dict*) – Auxiliary data used in deserialization.
  * **move** (*bool*) – If True, move the `cursor` to a position just past the
    bytes that were read. If False, don’t move the `cursor` at all.

Deserialize a number of bytes and version number, which is usually 6 bytes
but may be 2 bytes if the number of bytes isn’t given.

Returns a 3-tuple of

* number of bytes (int or None if unknown)
* instance version (int)
* is memberwise (bool): True if the memberwise bit is set in the version
  number; False otherwise.
