Change read
behavior on the InMemoryTransaction
to use offset and allow not equal buf size
#2673
+104
−14