|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjs.tinyvm.io.IOUtilities
public class IOUtilities
Helper class for padding.
| Constructor Summary | |
|---|---|
IOUtilities()
|
|
| Method Summary | |
|---|---|
static int |
adjustedSize(int aSize,
int aMinRecSize)
Size in bytes corrected to record boundaries. |
static void |
writePadding(IByteWriter writer,
int aMinRecSize)
Write padding bytes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IOUtilities()
| Method Detail |
|---|
public static void writePadding(IByteWriter writer,
int aMinRecSize)
throws java.io.IOException
writer - writer to write toaMinRecSize - size of one record
java.io.IOException
public static int adjustedSize(int aSize,
int aMinRecSize)
aSize - current sizeaMinRecSize - size after padding
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||