HF RL Explorer

Fix the length returned by hfile mem get buffer

Fix the length returned by hfile mem get buffer: a task in life-science-SWE1.0 (Harbor dataset). Title: Fix the length returned by hfile mem get buffer

The task

**Title:** Fix the length returned by hfile_mem_get_buffer

Part of scalingX/life-science-SWE1.0.