code: def test_get_cross_two():
      buffer = sock_client.SockBuffer()
      data1 = b"0123456"
      buffer.put(data1, len(data1))
      data2 = b"abcde"
      buffer.put(data2, len(data2))
      data3 = b"ABCDEFG"
      buffer.put(data3, len(data3))
      assert buffer.length == 19
      assert buffer.get(4, 14) == b"456abcdeAB"
      assert buffer.length == 5
  
file_path: wandb/tests/pytest_tests/unit_tests/test_lib/test_sock_client.py
imports: import pytest
  from wandb.sdk.lib import sock_client
label_desc: Use image node_id 6 for calling a global function with example usage: test_get_cross_two() without return types