leet-code/src/main/java/com/code/leet/entiy/Reader4.java

13 lines
218 B
Java

package com.code.leet.entiy;
/**
* @description:
* @author: Administrator
* @date: 2022/3/19 21:23
*/
public class Reader4 {
protected int read4(char[] buf4) {
return Math.min(buf4.length, 4);
}
}