public static ByteBuf copyDouble ( double ... values ) { if ( values == null || values . length == 0 ) { return EMPTY_BUFFER ; } ByteBuf buffer = buffer ( values . length * 8 ) ; for ( double v : values ) { buffer . writeDouble ( v ) ; } return buffer ; }
Create a new big - endian buffer that holds a sequence of the specified 64 - bit floating point numbers .