ByteBuffer function ( String arg0 , byte [ ] arg1 ) { byte [ ] loc0 = arg0 . getBytes ( ) ; ByteBuffer loc1 = ByteBuffer . allocate ( loc0 . length + arg1 . length + 3 ) ; loc1 . put ( ERROR ) ; loc1 . put ( arg1 ) ; loc1 . put ( loc0 ) ; loc1 . put ( CRLF ) ; loc1 . flip ( ) ; return loc1 ; }
creates an error response . concode_field_sep byte CR concode_elem_sep byte ERROR concode_elem_sep byte SIMPLE_STRING concode_elem_sep byte LF concode_elem_sep byte[] ERR_GENERIC concode_elem_sep byte[] CRLF concode_elem_sep byte[] OK concode_elem_sep byte[] ERR_AUTH concode_elem_sep byte[] NIL concode_elem_sep byte INTEGER concode_elem_sep byte ARRAY concode_elem_sep byte[] ERR_TYPE concode_elem_sep byte BULK_STRING concode_field_sep ByteBuffer nil concode_elem_sep ByteBuffer toInteger concode_elem_sep ByteBuffer toInteger concode_elem_sep String readBulkStr concode_elem_sep int elCnt concode_elem_sep ByteBuffer toTypeError concode_elem_sep ByteBuffer toSimpleString concode_elem_sep ByteBuffer toSimpleString concode_elem_sep ByteBuffer toArray concode_elem_sep ByteBuffer toArray concode_elem_sep GridRedisMessage readArray concode_elem_sep ByteBuffer toBulkString concode_elem_sep ByteBuffer oKString concode_elem_sep ByteBuffer toGenericError