Changeset 217 in josm for src/org/openstreetmap
- Timestamp:
- 2007-04-24T00:21:55+02:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/org/openstreetmap/josm/tools/Base64.java
r195 r217 12 12 out.append(enc.charAt(buf.charAt(0)>>2)); 13 13 out.append(enc.charAt((buf.charAt(0) & 0x03) << 4 | (l==1?0:(buf.charAt(1) & 0xf0) >> 4))); 14 out.append(l>1?enc.charAt((buf.charAt(1) & 0x0f) << 2 | ( buf.charAt(2) & 0xc0) >> 6):'=');14 out.append(l>1?enc.charAt((buf.charAt(1) & 0x0f) << 2 | (l==2?0:(buf.charAt(2) & 0xc0) >> 6)):'='); 15 15 out.append(l>2?enc.charAt(buf.charAt(2) & 0x3f):'='); 16 16 }
Note:
See TracChangeset
for help on using the changeset viewer.