MCPcopy Create free account
hub / github.com/apache/arrow / test_read_bytes

Method test_read_bytes

c_glib/test/test-buffer-input-stream.rb:28–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26 end
27
28 def test_read_bytes
29 buffer = Arrow::Buffer.new("Hello World")
30 buffer_input_stream = Arrow::BufferInputStream.new(buffer)
31 read_bytes = buffer_input_stream.read_bytes(5)
32 assert_equal("Hello", read_bytes.to_s)
33 end
34
35 def test_read_at
36 buffer = Arrow::Buffer.new("Hello World")

Callers

nothing calls this directly

Calls 3

newMethod · 0.45
read_bytesMethod · 0.45
to_sMethod · 0.45

Tested by

no test coverage detected