With 
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
one can modify the length of the given array. I use it as a buffer (255 bytes).
To me it is always 255 bytes long (Globals), but... Maybe a stupid question but how is it's length reduced e.g. to 5? Is it redefined? Usually you use a length indicator but the array itsself stays 255 bytes long (as it is a buffer).
			
			
			
				B4X:
			
		
		
		b4r_main::_receivedmessage->length=msg.length();one can modify the length of the given array. I use it as a buffer (255 bytes).
To me it is always 255 bytes long (Globals), but... Maybe a stupid question but how is it's length reduced e.g. to 5? Is it redefined? Usually you use a length indicator but the array itsself stays 255 bytes long (as it is a buffer).
 
				 
 
		 
 
		 
 
		 
 
		