/** * Reads in a {@link CountMinSketch} from a byte array. */ public static CountMinSketch readFrom(byte[] bytes) throws IOException { InputStream in = new ByteArrayInputStream(bytes); CountMinSketch cms = readFrom(in); in.close(); return cms; }
/** * Reads in a {@link CountMinSketch} from a byte array. */ public static CountMinSketch readFrom(byte[] bytes) throws IOException { InputStream in = new ByteArrayInputStream(bytes); CountMinSketch cms = readFrom(in); in.close(); return cms; }
/** * Reads in a {@link CountMinSketch} from a byte array. */ public static CountMinSketch readFrom(byte[] bytes) throws IOException { InputStream in = new ByteArrayInputStream(bytes); CountMinSketch cms = readFrom(in); in.close(); return cms; }