MemoryBuffer function ( int arg0 ) { switch ( memLayout . intSize ) { case 2 : bbuf . putShort ( ( short ) arg0 ) ; break ; case 4 : default : bbuf . putInt ( arg0 ) ; break ; } skipPaddingBytesFor ( DataType . INT ) ; return this ; }
writes integer to current buffer position , and then increments position . note : if structured writing is enabled , additional padding bytes may be skipped automatically . note : size of integer depends on platform type concode_field_sep int structIndex concode_elem_sep MemoryLayout memLayout concode_elem_sep DataType[] structure concode_elem_sep ByteBuffer bbuf concode_field_sep int getInt32 concode_elem_sep MemoryBuffer putInt16 concode_elem_sep MemoryBuffer putAddr concode_elem_sep byte getByte concode_elem_sep short getShort concode_elem_sep short getInt16 concode_elem_sep MemoryBuffer putLong concode_elem_sep byte[] getBytes concode_elem_sep long getInt64 concode_elem_sep long getLong concode_elem_sep int getInt concode_elem_sep MemoryBuffer putByte concode_elem_sep DataType getType concode_elem_sep MemoryBuffer putInt32 concode_elem_sep void skipPaddingBytesFor concode_elem_sep MemoryBuffer putInt64 concode_elem_sep long getAddr concode_elem_sep MemoryBuffer putShort concode_elem_sep MemoryBuffer wrap concode_elem_sep MemoryBuffer wrap concode_elem_sep MemoryBuffer putInt8 concode_elem_sep byte getInt8