public final class Util extends Object
| Modifier and Type | Method and Description | 
|---|---|
| static void | writeShortest(int value,
             io.netty.buffer.ByteBuf buffer)Given the integer values, this method instead of writing the value
 in 4B field, compresses the value to lowest required byte field
 depending on the value. | 
public static void writeShortest(int value,
                                 io.netty.buffer.ByteBuf buffer)
value - integer to be writtenbuffer - ByteBuf where the value will be writtenCopyright © 2018 OpenDaylight. All rights reserved.