程序包 proguard.io
类 RuntimeDataOutput
java.lang.Object
proguard.io.RuntimeDataOutput
This class delegates its method calls to the corresponding
DataOutput methods, converting
its IOExceptions to RuntimeExceptions.
The class provides two convenience methods that additionally check whether the written values are unsigned resp. signed short values before writing them.
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidwrite(byte[] b) voidwrite(byte[] b, int off, int len) voidwrite(int b) voidwriteBoolean(boolean v) voidwriteByte(int v) voidwriteBytes(String s) voidwriteChar(int v) voidwriteChars(String s) voidwriteDouble(double v) voidwriteFloat(float v) voidwriteInt(int v) voidwriteLong(long v) voidwriteShort(int v) voidwriteSignedShort(int v) Checks if the given value is a signed short value before writing it.voidwriteUnsignedShort(int v) Checks if the given value is an unsigned short value before writing it.void
-
构造器详细资料
-
RuntimeDataOutput
-
-
方法详细资料
-
write
public void write(byte[] b) -
write
public void write(byte[] b, int off, int len) -
write
public void write(int b) -
writeBoolean
public void writeBoolean(boolean v) -
writeByte
public void writeByte(int v) -
writeBytes
-
writeChar
public void writeChar(int v) -
writeChars
-
writeDouble
public void writeDouble(double v) -
writeFloat
public void writeFloat(float v) -
writeInt
public void writeInt(int v) -
writeLong
public void writeLong(long v) -
writeUnsignedShort
public void writeUnsignedShort(int v) Checks if the given value is an unsigned short value before writing it.- 抛出:
IllegalArgumentException- if the value is not an unsigned short value.- 另请参阅:
-
writeSignedShort
public void writeSignedShort(int v) Checks if the given value is a signed short value before writing it.- 抛出:
IllegalArgumentException- if the value is not a signed short value.- 另请参阅:
-
writeShort
public void writeShort(int v) -
writeUTF
-