Package org.opendaylight.protocol.util
Class ByteBufWriteUtil
- java.lang.Object
 - 
- org.opendaylight.protocol.util.ByteBufWriteUtil
 
 
- 
public final class ByteBufWriteUtil extends Object
Utility class for ByteBuf's write methods. 
- 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidwriteFloat32(Float32 value, io.netty.buffer.ByteBuf output)Writes Float32valueif not null, otherwise writes zeros to theoutputByteBuf. 
 - 
 
- 
- 
Method Detail
- 
writeFloat32
public static void writeFloat32(Float32 value, io.netty.buffer.ByteBuf output)
Writes Float32valueif not null, otherwise writes zeros to theoutputByteBuf. ByteBuf's writerIndex is increased by 4.- Parameters:
 value- Float32 value to be written to the output.output- ByteBuf, where value or zeros are written.
 
 - 
 
 -