public final class Size extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Size.Type |
| Constructor and Description |
|---|
Size(int sizeByte) |
Size(int sizeByte,
int sizeBit) |
| Modifier and Type | Method and Description |
|---|---|
int |
getBits()
Get the number of bits defined by this size.
|
int |
getBytes()
Get the number of bytes defined by this size.
|
Size.Type |
getType()
Get the type of this size (is it in bytes or bits).
|
public Size.Type getType()
public int getBytes()
public int getBits()
Copyright © 2015. All rights reserved.