public void writeInt ( byte type , long data ) { if ( ! MinBin . isPrimitive ( type ) || MinBin . isArray ( type ) ) throw new RuntimeException ( "illegal type code" ) ; writeOut ( type ) ; writeRawInt ( type , data ) ; }
write an int type with header