Revision 23189 branches/v10/libraries/libLidar/src/com/dielmo/gvsig/lidar/ByteUtilities.java

View differences:

ByteUtilities.java
125 125
	}
126 126
	
127 127
	// operaciones de tipos de java a vectores de bytes 
128
	public static byte[] int2Arr(int var)
129
	{
128
	public static byte[] int2Arr(int var) {
130 129
		int len = 4, i;
131 130
		byte[] tmp = new byte[len];
132 131
		
......
138 137
		return tmp;
139 138
	}
140 139
	
141
	public static byte[] unsignedInt2Arr(long var)
142
	{
140
	public static byte[] unsignedInt2Arr(long var) {
141
		
143 142
		int len = 4, i;
144 143
		byte[] tmp = new byte[len];
145 144
		
......
151 150
		return tmp;
152 151
	}
153 152
	
154
	public static byte[] long2Arr(long var)
155
	{
153
	public static byte[] long2Arr(long var) {
154
		
156 155
		int len = 8, i;
157 156
		byte[] tmp = new byte[len];
158 157
		
......
164 163
		return tmp;
165 164
	}
166 165
	
167
	public static byte[] Unsignedshort2Arr(int var)
168
	{
166
	public static byte[] Unsignedshort2Arr(int var)	{
169 167
		int len = 2;
170 168
		byte[] tmp = new byte[len];
171 169
		
......
175 173
		return tmp;
176 174
	}
177 175
	
178
	public static byte[] double2Arr(double var)
179
	{
176
	public static byte[] double2Arr(double var) {
177
		
180 178
		int len = 8;
181 179
		byte[] tmp = new byte[len];
182 180
		

Also available in: Unified diff