@ SuppressWarnings ( "deprecation" ) public static ByteBuf writeMediumBE ( ByteBuf buf , int mediumValue ) { return buf . order ( ) == ByteOrder . BIG_ENDIAN ? buf . writeMedium ( mediumValue ) : buf . writeMediumLE ( mediumValue ) ; }
Writes a big - endian 24 - bit medium integer to the buffer .