类 CRCOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- com.moilioncircle.redis.replicator.io.CRCOutputStream
-
- 所有已实现的接口:
Closeable,Flushable,AutoCloseable
public class CRCOutputStream extends OutputStream
- 从以下版本开始:
- 2.6.0
- 作者:
- Leon Chen
-
-
构造器概要
构造器 构造器 说明 CRCOutputStream(OutputStream out)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidclose()voidflush()byte[]getCRC64()voidwrite(byte[] b)voidwrite(byte[] b, int off, int len)voidwrite(int b)-
从类继承的方法 java.io.OutputStream
nullOutputStream
-
-
-
-
构造器详细资料
-
CRCOutputStream
public CRCOutputStream(OutputStream out)
-
-
方法详细资料
-
getCRC64
public byte[] getCRC64()
-
write
public void write(int b) throws IOException- 指定者:
write在类中OutputStream- 抛出:
IOException
-
write
public void write(byte[] b) throws IOException- 覆盖:
write在类中OutputStream- 抛出:
IOException
-
write
public void write(byte[] b, int off, int len) throws IOException- 覆盖:
write在类中OutputStream- 抛出:
IOException
-
flush
public void flush() throws IOException- 指定者:
flush在接口中Flushable- 覆盖:
flush在类中OutputStream- 抛出:
IOException
-
close
public void close() throws IOException- 指定者:
close在接口中AutoCloseable- 指定者:
close在接口中Closeable- 覆盖:
close在类中OutputStream- 抛出:
IOException
-
-