Array initialization error

	while (byteLength > 0) {
				
				buffer.writeByte (0);
				byteLength--;
			}