public static ByteBuf copyDouble ( double value ) { ByteBuf buf = buffer ( 8 ) ; buf . writeDouble ( value ) ; return buf ; }
Creates a new 8 - byte big - endian buffer that holds the specified 64 - bit floating point number .