LeetCode 157. 读取给定的 N 个字符 Read4

一、题目描述

Given a file and assume that you can only read the file using a given method read4, implement a method to read n characters.

Method read4:

The API read4 reads four consecutive characters from file, then writes those characters into the buffer

04-10 22:18