byte[] toByteArray(ByteArrayOutputStream os)
	{
		os.write(channelid);
		os.write(status);
		if (endpt != null && crd != null) {
			byte[] buf = endpt.toByteArray();
			os.write(buf, 0, buf.length);
			buf = crd.toByteArray();
			os.write(buf, 0, buf.length);
		}
		return os.toByteArray();
	}
byte [ ] toByteArray ( ByteArrayOutputStream os ) { os . write ( channelid ) ; os . write ( status ) ; if ( endpt != null && crd != null ) { byte [ ] buf = endpt . toByteArray ( ) ; os . write ( buf , 0 , buf . length ) ; buf = crd . toByteArray ( ) ; os . write ( buf , 0 , buf . length ) ; } return os . toByteArray ( ) ; }
/* (non-Javadoc)
@see tuwien.auto.calimero.knxnetip.servicetype.ServiceType#toByteArray
(java.io.ByteArrayOutputStream)