Revision 5

View differences:

trunk/org.gvsig.dwg/org.gvsig.dwg.lib/doc/javadoc/allclasses-noframe.html
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
<!--NewPage-->
3
<HTML>
4
<HEAD>
5
<!-- Generated by javadoc (build 1.4.2_08) on Wed Sep 07 16:36:34 CEST 2005 -->
6
<TITLE>
7
All Classes
8
</TITLE>
9

  
10

  
11
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
12

  
13

  
14
</HEAD>
15

  
16
<BODY BGCOLOR="white">
17
<FONT size="+1" CLASS="FrameHeadingFont">
18
<B>All Classes</B></FONT>
19
<BR>
20

  
21
<TABLE BORDER="0" WIDTH="100%" SUMMARY="">
22
<TR>
23
<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="com/iver/cit/javacad/util/AcadColor.html" title="class in com.iver.cit.javacad.util">AcadColor</A>
24
<BR>
25
<A HREF="com/iver/cit/javacad/util/AcadExtrusionCalculator.html" title="class in com.iver.cit.javacad.util">AcadExtrusionCalculator</A>
26
<BR>
27
<A HREF="com/iver/cit/javacad/util/ArcFromBulgeCalculator.html" title="class in com.iver.cit.javacad.util">ArcFromBulgeCalculator</A>
28
<BR>
29
<A HREF="com/iver/cit/gvsig/fmap/drivers/dgn/ByteUtils.html" title="class in com.iver.cit.gvsig.fmap.drivers.dgn">ByteUtils</A>
30
<BR>
31
<A HREF="com/iver/cit/jdwglib/dwg/objects/DwgArc.html" title="class in com.iver.cit.jdwglib.dwg.objects">DwgArc</A>
32
<BR>
33
<A HREF="com/iver/cit/jdwglib/dwg/objects/DwgAttdef.html" title="class in com.iver.cit.jdwglib.dwg.objects">DwgAttdef</A>
34
<BR>
35
<A HREF="com/iver/cit/jdwglib/dwg/objects/DwgAttrib.html" title="class in com.iver.cit.jdwglib.dwg.objects">DwgAttrib</A>
36
<BR>
37
<A HREF="com/iver/cit/jdwglib/dwg/objects/DwgBlock.html" title="class in com.iver.cit.jdwglib.dwg.objects">DwgBlock</A>
38
<BR>
39
<A HREF="com/iver/cit/jdwglib/dwg/objects/DwgBlockControl.html" title="class in com.iver.cit.jdwglib.dwg.objects">DwgBlockControl</A>
40
<BR>
41
<A HREF="com/iver/cit/jdwglib/dwg/objects/DwgBlockHeader.html" title="class in com.iver.cit.jdwglib.dwg.objects">DwgBlockHeader</A>
42
<BR>
43
<A HREF="com/iver/cit/jdwglib/dwg/objects/DwgCircle.html" title="class in com.iver.cit.jdwglib.dwg.objects">DwgCircle</A>
44
<BR>
45
<A HREF="com/iver/cit/jdwglib/dwg/DwgClass.html" title="class in com.iver.cit.jdwglib.dwg">DwgClass</A>
46
<BR>
47
<A HREF="com/iver/cit/jdwglib/dwg/objects/DwgEllipse.html" title="class in com.iver.cit.jdwglib.dwg.objects">DwgEllipse</A>
48
<BR>
49
<A HREF="com/iver/cit/jdwglib/dwg/objects/DwgEndblk.html" title="class in com.iver.cit.jdwglib.dwg.objects">DwgEndblk</A>
50
<BR>
51
<A HREF="com/iver/cit/jdwglib/dwg/DwgFile.html" title="class in com.iver.cit.jdwglib.dwg">DwgFile</A>
52
<BR>
53
<A HREF="com/iver/cit/jdwglib/dwg/DwgFileReader.html" title="class in com.iver.cit.jdwglib.dwg">DwgFileReader</A>
54
<BR>
55
<A HREF="com/iver/cit/jdwglib/dwg/DwgFileV14Reader.html" title="class in com.iver.cit.jdwglib.dwg">DwgFileV14Reader</A>
56
<BR>
57
<A HREF="com/iver/cit/jdwglib/dwg/DwgFileV15Reader.html" title="class in com.iver.cit.jdwglib.dwg">DwgFileV15Reader</A>
58
<BR>
59
<A HREF="com/iver/cit/jdwglib/dwg/DwgHeader.html" title="class in com.iver.cit.jdwglib.dwg">DwgHeader</A>
60
<BR>
61
<A HREF="com/iver/cit/jdwglib/dwg/objects/DwgInsert.html" title="class in com.iver.cit.jdwglib.dwg.objects">DwgInsert</A>
62
<BR>
63
<A HREF="com/iver/cit/jdwglib/dwg/objects/DwgLayer.html" title="class in com.iver.cit.jdwglib.dwg.objects">DwgLayer</A>
64
<BR>
65
<A HREF="com/iver/cit/jdwglib/dwg/objects/DwgLayerControl.html" title="class in com.iver.cit.jdwglib.dwg.objects">DwgLayerControl</A>
66
<BR>
67
<A HREF="com/iver/cit/jdwglib/dwg/objects/DwgLine.html" title="class in com.iver.cit.jdwglib.dwg.objects">DwgLine</A>
68
<BR>
69
<A HREF="com/iver/cit/jdwglib/dwg/objects/DwgLinearDimension.html" title="class in com.iver.cit.jdwglib.dwg.objects">DwgLinearDimension</A>
70
<BR>
71
<A HREF="com/iver/cit/jdwglib/dwg/objects/DwgLwPolyline.html" title="class in com.iver.cit.jdwglib.dwg.objects">DwgLwPolyline</A>
72
<BR>
73
<A HREF="com/iver/cit/jdwglib/dwg/objects/DwgMText.html" title="class in com.iver.cit.jdwglib.dwg.objects">DwgMText</A>
74
<BR>
75
<A HREF="com/iver/cit/jdwglib/dwg/DwgObject.html" title="class in com.iver.cit.jdwglib.dwg">DwgObject</A>
76
<BR>
77
<A HREF="com/iver/cit/jdwglib/dwg/DwgObjectOffset.html" title="class in com.iver.cit.jdwglib.dwg">DwgObjectOffset</A>
78
<BR>
79
<A HREF="com/iver/cit/jdwglib/dwg/objects/DwgPoint.html" title="class in com.iver.cit.jdwglib.dwg.objects">DwgPoint</A>
80
<BR>
81
<A HREF="com/iver/cit/jdwglib/dwg/objects/DwgPolyline2D.html" title="class in com.iver.cit.jdwglib.dwg.objects">DwgPolyline2D</A>
82
<BR>
83
<A HREF="com/iver/cit/jdwglib/dwg/objects/DwgPolyline3D.html" title="class in com.iver.cit.jdwglib.dwg.objects">DwgPolyline3D</A>
84
<BR>
85
<A HREF="com/iver/cit/jdwglib/dwg/DwgSectionOffset.html" title="class in com.iver.cit.jdwglib.dwg">DwgSectionOffset</A>
86
<BR>
87
<A HREF="com/iver/cit/jdwglib/dwg/objects/DwgSeqend.html" title="class in com.iver.cit.jdwglib.dwg.objects">DwgSeqend</A>
88
<BR>
89
<A HREF="com/iver/cit/jdwglib/dwg/objects/DwgSolid.html" title="class in com.iver.cit.jdwglib.dwg.objects">DwgSolid</A>
90
<BR>
91
<A HREF="com/iver/cit/jdwglib/dwg/objects/DwgSpline.html" title="class in com.iver.cit.jdwglib.dwg.objects">DwgSpline</A>
92
<BR>
93
<A HREF="com/iver/cit/jdwglib/dwg/objects/DwgText.html" title="class in com.iver.cit.jdwglib.dwg.objects">DwgText</A>
94
<BR>
95
<A HREF="com/iver/cit/jdwglib/dwg/DwgUtil.html" title="class in com.iver.cit.jdwglib.dwg">DwgUtil</A>
96
<BR>
97
<A HREF="com/iver/cit/jdwglib/dwg/objects/DwgVertex2D.html" title="class in com.iver.cit.jdwglib.dwg.objects">DwgVertex2D</A>
98
<BR>
99
<A HREF="com/iver/cit/jdwglib/dwg/objects/DwgVertex3D.html" title="class in com.iver.cit.jdwglib.dwg.objects">DwgVertex3D</A>
100
<BR>
101
<A HREF="com/iver/cit/javacad/util/GisModelCurveCalculator.html" title="class in com.iver.cit.javacad.util">GisModelCurveCalculator</A>
102
<BR>
103
<A HREF="freenet/support/HexUtil.html" title="class in freenet.support">HexUtil</A>
104
<BR>
105
<A HREF="com/iver/cit/jdwglib/test/Test.html" title="class in com.iver.cit.jdwglib.test">Test</A>
106
<BR>
107
<A HREF="com/iver/cit/javacad/util/TextToUnicodeConverter.html" title="class in com.iver.cit.javacad.util">TextToUnicodeConverter</A>
108
<BR>
109
</FONT></TD>
110
</TR>
111
</TABLE>
112

  
113
</BODY>
114
</HTML>
trunk/org.gvsig.dwg/org.gvsig.dwg.lib/doc/javadoc/com/iver/cit/gvsig/fmap/drivers/dgn/package-tree.html
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
<!--NewPage-->
3
<HTML>
4
<HEAD>
5
<!-- Generated by javadoc (build 1.4.2_08) on Wed Sep 07 16:36:34 CEST 2005 -->
6
<TITLE>
7
com.iver.cit.gvsig.fmap.drivers.dgn Class Hierarchy
8
</TITLE>
9

  
10

  
11
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../../stylesheet.css" TITLE="Style">
12

  
13
<SCRIPT type="text/javascript">
14
function windowTitle()
15
{
16
    parent.document.title="com.iver.cit.gvsig.fmap.drivers.dgn Class Hierarchy";
17
}
18
</SCRIPT>
19

  
20
</HEAD>
21

  
22
<BODY BGCOLOR="white" onload="windowTitle();">
23

  
24

  
25
<!-- ========= START OF TOP NAVBAR ======= -->
26
<A NAME="navbar_top"><!-- --></A>
27
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
28
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
29
<TR>
30
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
31
<A NAME="navbar_top_firstrow"><!-- --></A>
32
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
33
  <TR ALIGN="center" VALIGN="top">
34
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
35
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
36
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
37
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Use</FONT>&nbsp;</TD>
38
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT>&nbsp;</TD>
39
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
40
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
41
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
42
  </TR>
43
</TABLE>
44
</TD>
45
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
46
</EM>
47
</TD>
48
</TR>
49

  
50
<TR>
51
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
52
&nbsp;PREV&nbsp;
53
&nbsp;<A HREF="../../../../../../../com/iver/cit/javacad/util/package-tree.html"><B>NEXT</B></A></FONT></TD>
54
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
55
  <A HREF="../../../../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
56
&nbsp;<A HREF="package-tree.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
57
&nbsp;<SCRIPT type="text/javascript">
58
  <!--
59
  if(window==top) {
60
    document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
61
  }
62
  //-->
63
</SCRIPT>
64
<NOSCRIPT>
65
  <A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
66
</NOSCRIPT>
67

  
68
</FONT></TD>
69
</TR>
70
</TABLE>
71
<A NAME="skip-navbar_top"></A>
72
<!-- ========= END OF TOP NAVBAR ========= -->
73

  
74
<HR>
75
<CENTER>
76
<H2>
77
Hierarchy For Package com.iver.cit.gvsig.fmap.drivers.dgn
78
</H2>
79
</CENTER>
80
<DL>
81
<DT><B>Package Hierarchies:</B><DD><A HREF="../../../../../../../overview-tree.html">All Packages</A></DL>
82
<HR>
83
<H2>
84
Class Hierarchy
85
</H2>
86
<UL>
87
<LI TYPE="circle">class java.lang.Object<UL>
88
<LI TYPE="circle">class com.iver.cit.gvsig.fmap.drivers.dgn.<A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/ByteUtils.html" title="class in com.iver.cit.gvsig.fmap.drivers.dgn"><B>ByteUtils</B></A></UL>
89
</UL>
90
<HR>
91

  
92

  
93
<!-- ======= START OF BOTTOM NAVBAR ====== -->
94
<A NAME="navbar_bottom"><!-- --></A>
95
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
96
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
97
<TR>
98
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
99
<A NAME="navbar_bottom_firstrow"><!-- --></A>
100
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
101
  <TR ALIGN="center" VALIGN="top">
102
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
103
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
104
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
105
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Use</FONT>&nbsp;</TD>
106
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT>&nbsp;</TD>
107
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
108
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
109
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
110
  </TR>
111
</TABLE>
112
</TD>
113
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
114
</EM>
115
</TD>
116
</TR>
117

  
118
<TR>
119
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
120
&nbsp;PREV&nbsp;
121
&nbsp;<A HREF="../../../../../../../com/iver/cit/javacad/util/package-tree.html"><B>NEXT</B></A></FONT></TD>
122
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
123
  <A HREF="../../../../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
124
&nbsp;<A HREF="package-tree.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
125
&nbsp;<SCRIPT type="text/javascript">
126
  <!--
127
  if(window==top) {
128
    document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
129
  }
130
  //-->
131
</SCRIPT>
132
<NOSCRIPT>
133
  <A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
134
</NOSCRIPT>
135

  
136
</FONT></TD>
137
</TR>
138
</TABLE>
139
<A NAME="skip-navbar_bottom"></A>
140
<!-- ======== END OF BOTTOM NAVBAR ======= -->
141

  
142
<HR>
143

  
144
</BODY>
145
</HTML>
trunk/org.gvsig.dwg/org.gvsig.dwg.lib/doc/javadoc/com/iver/cit/gvsig/fmap/drivers/dgn/class-use/ByteUtils.html
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
<!--NewPage-->
3
<HTML>
4
<HEAD>
5
<!-- Generated by javadoc (build 1.4.2_08) on Wed Sep 07 16:36:34 CEST 2005 -->
6
<TITLE>
7
Uses of Class com.iver.cit.gvsig.fmap.drivers.dgn.ByteUtils
8
</TITLE>
9

  
10

  
11
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../../../stylesheet.css" TITLE="Style">
12

  
13
<SCRIPT type="text/javascript">
14
function windowTitle()
15
{
16
    parent.document.title="Uses of Class com.iver.cit.gvsig.fmap.drivers.dgn.ByteUtils";
17
}
18
</SCRIPT>
19

  
20
</HEAD>
21

  
22
<BODY BGCOLOR="white" onload="windowTitle();">
23

  
24

  
25
<!-- ========= START OF TOP NAVBAR ======= -->
26
<A NAME="navbar_top"><!-- --></A>
27
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
28
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
29
<TR>
30
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
31
<A NAME="navbar_top_firstrow"><!-- --></A>
32
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
33
  <TR ALIGN="center" VALIGN="top">
34
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
35
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
36
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/ByteUtils.html" title="class in com.iver.cit.gvsig.fmap.drivers.dgn"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A>&nbsp;</TD>
37
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD>
38
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
39
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
40
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
41
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
42
  </TR>
43
</TABLE>
44
</TD>
45
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
46
</EM>
47
</TD>
48
</TR>
49

  
50
<TR>
51
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
52
&nbsp;PREV&nbsp;
53
&nbsp;NEXT</FONT></TD>
54
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
55
  <A HREF="../../../../../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
56
&nbsp;<A HREF="ByteUtils.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
57
&nbsp;<SCRIPT type="text/javascript">
58
  <!--
59
  if(window==top) {
60
    document.writeln('<A HREF="../../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
61
  }
62
  //-->
63
</SCRIPT>
64
<NOSCRIPT>
65
  <A HREF="../../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
66
</NOSCRIPT>
67

  
68
</FONT></TD>
69
</TR>
70
</TABLE>
71
<A NAME="skip-navbar_top"></A>
72
<!-- ========= END OF TOP NAVBAR ========= -->
73

  
74
<HR>
75
<CENTER>
76
<H2>
77
<B>Uses of Class<br>com.iver.cit.gvsig.fmap.drivers.dgn.ByteUtils</B></H2>
78
</CENTER>
79
No usage of com.iver.cit.gvsig.fmap.drivers.dgn.ByteUtils
80
<P>
81
<HR>
82

  
83

  
84
<!-- ======= START OF BOTTOM NAVBAR ====== -->
85
<A NAME="navbar_bottom"><!-- --></A>
86
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
87
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
88
<TR>
89
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
90
<A NAME="navbar_bottom_firstrow"><!-- --></A>
91
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
92
  <TR ALIGN="center" VALIGN="top">
93
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
94
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
95
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/ByteUtils.html" title="class in com.iver.cit.gvsig.fmap.drivers.dgn"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A>&nbsp;</TD>
96
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD>
97
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
98
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
99
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
100
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
101
  </TR>
102
</TABLE>
103
</TD>
104
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
105
</EM>
106
</TD>
107
</TR>
108

  
109
<TR>
110
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
111
&nbsp;PREV&nbsp;
112
&nbsp;NEXT</FONT></TD>
113
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
114
  <A HREF="../../../../../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
115
&nbsp;<A HREF="ByteUtils.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
116
&nbsp;<SCRIPT type="text/javascript">
117
  <!--
118
  if(window==top) {
119
    document.writeln('<A HREF="../../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
120
  }
121
  //-->
122
</SCRIPT>
123
<NOSCRIPT>
124
  <A HREF="../../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
125
</NOSCRIPT>
126

  
127
</FONT></TD>
128
</TR>
129
</TABLE>
130
<A NAME="skip-navbar_bottom"></A>
131
<!-- ======== END OF BOTTOM NAVBAR ======= -->
132

  
133
<HR>
134

  
135
</BODY>
136
</HTML>
trunk/org.gvsig.dwg/org.gvsig.dwg.lib/doc/javadoc/com/iver/cit/gvsig/fmap/drivers/dgn/package-frame.html
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
<!--NewPage-->
3
<HTML>
4
<HEAD>
5
<!-- Generated by javadoc (build 1.4.2_08) on Wed Sep 07 16:36:34 CEST 2005 -->
6
<TITLE>
7
com.iver.cit.gvsig.fmap.drivers.dgn
8
</TITLE>
9

  
10
<META NAME="keywords" CONTENT="com.iver.cit.gvsig.fmap.drivers.dgn package">
11

  
12
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../../stylesheet.css" TITLE="Style">
13

  
14

  
15
</HEAD>
16

  
17
<BODY BGCOLOR="white">
18
<FONT size="+1" CLASS="FrameTitleFont">
19
<A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/package-summary.html" target="classFrame">com.iver.cit.gvsig.fmap.drivers.dgn</A></FONT>
20
<TABLE BORDER="0" WIDTH="100%" SUMMARY="">
21
<TR>
22
<TD NOWRAP><FONT size="+1" CLASS="FrameHeadingFont">
23
Classes</FONT>&nbsp;
24
<FONT CLASS="FrameItemFont">
25
<BR>
26
<A HREF="ByteUtils.html" title="class in com.iver.cit.gvsig.fmap.drivers.dgn" target="classFrame">ByteUtils</A></FONT></TD>
27
</TR>
28
</TABLE>
29

  
30

  
31
</BODY>
32
</HTML>
trunk/org.gvsig.dwg/org.gvsig.dwg.lib/doc/javadoc/com/iver/cit/gvsig/fmap/drivers/dgn/ByteUtils.html
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
<!--NewPage-->
3
<HTML>
4
<HEAD>
5
<!-- Generated by javadoc (build 1.4.2_08) on Wed Sep 07 16:36:35 CEST 2005 -->
6
<TITLE>
7
ByteUtils
8
</TITLE>
9

  
10
<META NAME="keywords" CONTENT="com.iver.cit.gvsig.fmap.drivers.dgn.ByteUtils class">
11

  
12
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../../stylesheet.css" TITLE="Style">
13

  
14
<SCRIPT type="text/javascript">
15
function windowTitle()
16
{
17
    parent.document.title="ByteUtils";
18
}
19
</SCRIPT>
20

  
21
</HEAD>
22

  
23
<BODY BGCOLOR="white" onload="windowTitle();">
24

  
25

  
26
<!-- ========= START OF TOP NAVBAR ======= -->
27
<A NAME="navbar_top"><!-- --></A>
28
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
29
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
30
<TR>
31
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
32
<A NAME="navbar_top_firstrow"><!-- --></A>
33
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
34
  <TR ALIGN="center" VALIGN="top">
35
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
36
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
37
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
38
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/ByteUtils.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
39
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
40
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
41
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
42
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
43
  </TR>
44
</TABLE>
45
</TD>
46
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
47
</EM>
48
</TD>
49
</TR>
50

  
51
<TR>
52
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
53
&nbsp;PREV CLASS&nbsp;
54
&nbsp;NEXT CLASS</FONT></TD>
55
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
56
  <A HREF="../../../../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
57
&nbsp;<A HREF="ByteUtils.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
58
&nbsp;<SCRIPT type="text/javascript">
59
  <!--
60
  if(window==top) {
61
    document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
62
  }
63
  //-->
64
</SCRIPT>
65
<NOSCRIPT>
66
  <A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
67
</NOSCRIPT>
68

  
69
</FONT></TD>
70
</TR>
71
<TR>
72
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
73
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
74
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
75
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
76
</TR>
77
</TABLE>
78
<A NAME="skip-navbar_top"></A>
79
<!-- ========= END OF TOP NAVBAR ========= -->
80

  
81
<HR>
82
<!-- ======== START OF CLASS DATA ======== -->
83
<H2>
84
<FONT SIZE="-1">
85
com.iver.cit.gvsig.fmap.drivers.dgn</FONT>
86
<BR>
87
Class ByteUtils</H2>
88
<PRE>
89
java.lang.Object
90
  <IMG SRC="../../../../../../../resources/inherit.gif" ALT="extended by"><B>com.iver.cit.gvsig.fmap.drivers.dgn.ByteUtils</B>
91
</PRE>
92
<HR>
93
<DL>
94
<DT>public class <B>ByteUtils</B><DT>extends java.lang.Object</DL>
95

  
96
<P>
97
Clase que engloba m?todos para trabajar con bytes.
98
<P>
99

  
100
<P>
101
<DL>
102
<DT><B>Author:</B></DT>
103
  <DD>Vicente Caballero Navarro</DD>
104
</DL>
105
<HR>
106

  
107
<P>
108
<!-- ======== NESTED CLASS SUMMARY ======== -->
109

  
110

  
111
<!-- =========== FIELD SUMMARY =========== -->
112

  
113
<A NAME="field_summary"><!-- --></A>
114
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
115
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
116
<TD COLSPAN=2><FONT SIZE="+2">
117
<B>Field Summary</B></FONT></TD>
118
</TR>
119
<TR BGCOLOR="white" CLASS="TableRowColor">
120
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
121
<CODE>static&nbsp;char[]</CODE></FONT></TD>
122
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/ByteUtils.html#digits">digits</A></B></CODE>
123

  
124
<BR>
125
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A nibble->char mapping for printing out bytes.</TD>
126
</TR>
127
<TR BGCOLOR="white" CLASS="TableRowColor">
128
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
129
<CODE>static&nbsp;int</CODE></FONT></TD>
130
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/ByteUtils.html#SIZE_BOOL">SIZE_BOOL</A></B></CODE>
131

  
132
<BR>
133
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
134
</TR>
135
<TR BGCOLOR="white" CLASS="TableRowColor">
136
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
137
<CODE>static&nbsp;int</CODE></FONT></TD>
138
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/ByteUtils.html#SIZE_DOUBLE">SIZE_DOUBLE</A></B></CODE>
139

  
140
<BR>
141
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
142
</TR>
143
<TR BGCOLOR="white" CLASS="TableRowColor">
144
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
145
<CODE>static&nbsp;int</CODE></FONT></TD>
146
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/ByteUtils.html#SIZE_INT">SIZE_INT</A></B></CODE>
147

  
148
<BR>
149
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
150
</TR>
151
<TR BGCOLOR="white" CLASS="TableRowColor">
152
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
153
<CODE>static&nbsp;int</CODE></FONT></TD>
154
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/ByteUtils.html#SIZE_LONG">SIZE_LONG</A></B></CODE>
155

  
156
<BR>
157
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
158
</TR>
159
<TR BGCOLOR="white" CLASS="TableRowColor">
160
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
161
<CODE>static&nbsp;int</CODE></FONT></TD>
162
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/ByteUtils.html#SIZE_SHORT">SIZE_SHORT</A></B></CODE>
163

  
164
<BR>
165
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
166
</TR>
167
</TABLE>
168
&nbsp;
169
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
170

  
171
<A NAME="constructor_summary"><!-- --></A>
172
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
173
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
174
<TD COLSPAN=2><FONT SIZE="+2">
175
<B>Constructor Summary</B></FONT></TD>
176
</TR>
177
<TR BGCOLOR="white" CLASS="TableRowColor">
178
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/ByteUtils.html#ByteUtils()">ByteUtils</A></B>()</CODE>
179

  
180
<BR>
181
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
182
</TR>
183
</TABLE>
184
&nbsp;
185
<!-- ========== METHOD SUMMARY =========== -->
186

  
187
<A NAME="method_summary"><!-- --></A>
188
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
189
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
190
<TD COLSPAN=2><FONT SIZE="+2">
191
<B>Method Summary</B></FONT></TD>
192
</TR>
193
<TR BGCOLOR="white" CLASS="TableRowColor">
194
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
195
<CODE>static&nbsp;void</CODE></FONT></TD>
196
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/ByteUtils.html#bigIntegerToBytes(java.math.BigInteger, byte[], int[])">bigIntegerToBytes</A></B>(java.math.BigInteger&nbsp;n,
197
                  byte[]&nbsp;data,
198
                  int[]&nbsp;offset)</CODE>
199

  
200
<BR>
201
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Write the bytes representing <code>n</code> into the byte array
202
 <code>data</code>, starting at index <code>offset [0]</code>, and
203
 increment <code>offset [0]</code> by the number of bytes written; if
204
 <code>data == null</code>, increment <code>offset [0]</code> by the
205
 number of bytes that would have been written otherwise.</TD>
206
</TR>
207
<TR BGCOLOR="white" CLASS="TableRowColor">
208
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
209
<CODE>static&nbsp;void</CODE></FONT></TD>
210
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/ByteUtils.html#boolToBytes(boolean, byte[], int[])">boolToBytes</A></B>(boolean&nbsp;b,
211
            byte[]&nbsp;data,
212
            int[]&nbsp;offset)</CODE>
213

  
214
<BR>
215
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Write the bytes representing <code>b</code> into the byte array
216
 <code>data</code>, starting at index <code>offset [0]</code>, and
217
 increment <code>offset [0]</code> by the number of bytes written; if
218
 <code>data == null</code>, increment <code>offset [0]</code> by the
219
 number of bytes that would have been written otherwise.</TD>
220
</TR>
221
<TR BGCOLOR="white" CLASS="TableRowColor">
222
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
223
<CODE>static&nbsp;java.math.BigInteger</CODE></FONT></TD>
224
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/ByteUtils.html#bytesToBigInteger(byte[], int[])">bytesToBigInteger</A></B>(byte[]&nbsp;data,
225
                  int[]&nbsp;offset)</CODE>
226

  
227
<BR>
228
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the <code>BigInteger</code> represented by the bytes in
229
 <code>data</code> staring at offset <code>offset[0]</code>.</TD>
230
</TR>
231
<TR BGCOLOR="white" CLASS="TableRowColor">
232
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
233
<CODE>static&nbsp;boolean</CODE></FONT></TD>
234
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/ByteUtils.html#bytesToBool(byte[], int[])">bytesToBool</A></B>(byte[]&nbsp;data,
235
            int[]&nbsp;offset)</CODE>
236

  
237
<BR>
238
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the <code>boolean</code> represented by the bytes in
239
 <code>data</code> staring at offset <code>offset[0]</code>.</TD>
240
</TR>
241
<TR BGCOLOR="white" CLASS="TableRowColor">
242
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
243
<CODE>static&nbsp;double</CODE></FONT></TD>
244
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/ByteUtils.html#bytesToDouble(byte[], int[])">bytesToDouble</A></B>(byte[]&nbsp;data,
245
              int[]&nbsp;offset)</CODE>
246

  
247
<BR>
248
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the <code>double</code> represented by the bytes in
249
 <code>data</code> staring at offset <code>offset[0]</code>.</TD>
250
</TR>
251
<TR BGCOLOR="white" CLASS="TableRowColor">
252
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
253
<CODE>static&nbsp;int</CODE></FONT></TD>
254
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/ByteUtils.html#bytesToInt(byte[], int[])">bytesToInt</A></B>(byte[]&nbsp;data,
255
           int[]&nbsp;offset)</CODE>
256

  
257
<BR>
258
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the <code>int</code> represented by the bytes in
259
 <code>data</code> staring at offset <code>offset[0]</code>.</TD>
260
</TR>
261
<TR BGCOLOR="white" CLASS="TableRowColor">
262
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
263
<CODE>static&nbsp;void</CODE></FONT></TD>
264
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/ByteUtils.html#bytesToInts(int[], int, byte[], int, int)">bytesToInts</A></B>(int[]&nbsp;dst,
265
            int&nbsp;dst_offset,
266
            byte[]&nbsp;src,
267
            int&nbsp;src_offset,
268
            int&nbsp;length)</CODE>
269

  
270
<BR>
271
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convert an array of <code>bytes</code>s into an array of
272
 <code>ints</code>.</TD>
273
</TR>
274
<TR BGCOLOR="white" CLASS="TableRowColor">
275
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
276
<CODE>static&nbsp;long</CODE></FONT></TD>
277
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/ByteUtils.html#bytesToLong(byte[], int[])">bytesToLong</A></B>(byte[]&nbsp;data,
278
            int[]&nbsp;offset)</CODE>
279

  
280
<BR>
281
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the <code>long</code> represented by the bytes in
282
 <code>data</code> staring at offset <code>offset[0]</code>.</TD>
283
</TR>
284
<TR BGCOLOR="white" CLASS="TableRowColor">
285
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
286
<CODE>static&nbsp;short</CODE></FONT></TD>
287
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/ByteUtils.html#bytesToShort(byte[], int[])">bytesToShort</A></B>(byte[]&nbsp;data,
288
             int[]&nbsp;offset)</CODE>
289

  
290
<BR>
291
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the <code>short</code> represented by the bytes in
292
 <code>data</code> staring at offset <code>offset[0]</code>.</TD>
293
</TR>
294
<TR BGCOLOR="white" CLASS="TableRowColor">
295
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
296
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
297
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/ByteUtils.html#bytesToString(byte[], int[])">bytesToString</A></B>(byte[]&nbsp;data,
298
              int[]&nbsp;offset)</CODE>
299

  
300
<BR>
301
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the <code>String</code> represented by the bytes in
302
 <code>data</code> staring at offset <code>offset[0]</code>. </TD>
303
</TR>
304
<TR BGCOLOR="white" CLASS="TableRowColor">
305
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
306
<CODE>static&nbsp;int</CODE></FONT></TD>
307
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/ByteUtils.html#byteToUnsignedInt(byte)">byteToUnsignedInt</A></B>(byte&nbsp;b)</CODE>
308

  
309
<BR>
310
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convert a <code>byte</code> into an unsigned integer.</TD>
311
</TR>
312
<TR BGCOLOR="white" CLASS="TableRowColor">
313
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
314
<CODE>static&nbsp;void</CODE></FONT></TD>
315
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/ByteUtils.html#doubleToBytes(double, byte[], int[])">doubleToBytes</A></B>(double&nbsp;d,
316
              byte[]&nbsp;data,
317
              int[]&nbsp;offset)</CODE>
318

  
319
<BR>
320
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Write the bytes representing <code>d</code> into the byte array
321
 <code>data</code>, starting at index <code>offset [0]</code>, and
322
 increment <code>offset [0]</code> by the number of bytes written; if
323
 <code>data == null</code>, increment <code>offset [0]</code> by the
324
 number of bytes that would have been written otherwise.</TD>
325
</TR>
326
<TR BGCOLOR="white" CLASS="TableRowColor">
327
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
328
<CODE>static&nbsp;boolean</CODE></FONT></TD>
329
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/ByteUtils.html#equals(byte[], byte[])">equals</A></B>(byte[]&nbsp;b1,
330
       byte[]&nbsp;b2)</CODE>
331

  
332
<BR>
333
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determines whether two arrays of <code>byte</code>s contain the same
334
 contents.</TD>
335
</TR>
336
<TR BGCOLOR="white" CLASS="TableRowColor">
337
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
338
<CODE>static&nbsp;int</CODE></FONT></TD>
339
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/ByteUtils.html#getUnsigned(byte)">getUnsigned</A></B>(byte&nbsp;b)</CODE>
340

  
341
<BR>
342
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DOCUMENT ME!</TD>
343
</TR>
344
<TR BGCOLOR="white" CLASS="TableRowColor">
345
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
346
<CODE>static&nbsp;void</CODE></FONT></TD>
347
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/ByteUtils.html#intsToBytes(byte[], int, int[], int, int)">intsToBytes</A></B>(byte[]&nbsp;dst,
348
            int&nbsp;dst_offset,
349
            int[]&nbsp;src,
350
            int&nbsp;src_offset,
351
            int&nbsp;length)</CODE>
352

  
353
<BR>
354
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convert an array of <code>int</code>s into an array of
355
 <code>bytes</code>.</TD>
356
</TR>
357
<TR BGCOLOR="white" CLASS="TableRowColor">
358
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
359
<CODE>static&nbsp;void</CODE></FONT></TD>
360
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/ByteUtils.html#intToBytes(int, byte[], int[])">intToBytes</A></B>(int&nbsp;i,
361
           byte[]&nbsp;data,
362
           int[]&nbsp;offset)</CODE>
363

  
364
<BR>
365
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Write the bytes representing <code>i</code> into the byte array
366
 <code>data</code>, starting at index <code>offset [0]</code>, and
367
 increment <code>offset [0]</code> by the number of bytes written; if
368
 <code>data == null</code>, increment <code>offset [0]</code> by the
369
 number of bytes that would have been written otherwise.</TD>
370
</TR>
371
<TR BGCOLOR="white" CLASS="TableRowColor">
372
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
373
<CODE>static&nbsp;void</CODE></FONT></TD>
374
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/ByteUtils.html#longToBytes(long, byte[], int[])">longToBytes</A></B>(long&nbsp;l,
375
            byte[]&nbsp;data,
376
            int[]&nbsp;offset)</CODE>
377

  
378
<BR>
379
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Write the bytes representing <code>l</code> into the byte array
380
 <code>data</code>, starting at index <code>offset [0]</code>, and
381
 increment <code>offset [0]</code> by the number of bytes written; if
382
 <code>data == null</code>, increment <code>offset [0]</code> by the
383
 number of bytes that would have been written otherwise.</TD>
384
</TR>
385
<TR BGCOLOR="white" CLASS="TableRowColor">
386
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
387
<CODE>static&nbsp;void</CODE></FONT></TD>
388
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/ByteUtils.html#memclr(byte[], int, int)">memclr</A></B>(byte[]&nbsp;array,
389
       int&nbsp;offset,
390
       int&nbsp;length)</CODE>
391

  
392
<BR>
393
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fill the given array with zeros.</TD>
394
</TR>
395
<TR BGCOLOR="white" CLASS="TableRowColor">
396
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
397
<CODE>static&nbsp;boolean</CODE></FONT></TD>
398
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/ByteUtils.html#memcmp(byte[], int, byte[], int, int)">memcmp</A></B>(byte[]&nbsp;a,
399
       int&nbsp;a_offset,
400
       byte[]&nbsp;b,
401
       int&nbsp;b_offset,
402
       int&nbsp;length)</CODE>
403

  
404
<BR>
405
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compare the contents of one array of <code>bytes</code> to another.</TD>
406
</TR>
407
<TR BGCOLOR="white" CLASS="TableRowColor">
408
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
409
<CODE>static&nbsp;int</CODE></FONT></TD>
410
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/ByteUtils.html#memcpy(byte[], int, byte[], int, int)">memcpy</A></B>(byte[]&nbsp;dst,
411
       int&nbsp;dst_offset,
412
       byte[]&nbsp;src,
413
       int&nbsp;src_offset,
414
       int&nbsp;length)</CODE>
415

  
416
<BR>
417
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Copy contents of one array of <code>bytes</code> into another. </TD>
418
</TR>
419
<TR BGCOLOR="white" CLASS="TableRowColor">
420
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
421
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
422
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/ByteUtils.html#print_bytes_exact(byte[], int, int)">print_bytes_exact</A></B>(byte[]&nbsp;data,
423
                  int&nbsp;offset,
424
                  int&nbsp;length)</CODE>
425

  
426
<BR>
427
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DOCUMENT ME!</TD>
428
</TR>
429
<TR BGCOLOR="white" CLASS="TableRowColor">
430
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
431
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
432
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/ByteUtils.html#print_bytes(byte[])">print_bytes</A></B>(byte[]&nbsp;data)</CODE>
433

  
434
<BR>
435
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DOCUMENT ME!</TD>
436
</TR>
437
<TR BGCOLOR="white" CLASS="TableRowColor">
438
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
439
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
440
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/ByteUtils.html#print_bytes(byte[], int, int)">print_bytes</A></B>(byte[]&nbsp;data,
441
            int&nbsp;offset,
442
            int&nbsp;length)</CODE>
443

  
444
<BR>
445
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Produce a <code>String</code> representation for the specified array of
446
 <code>byte</code>s.  </TD>
447
</TR>
448
<TR BGCOLOR="white" CLASS="TableRowColor">
449
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
450
<CODE>static&nbsp;int</CODE></FONT></TD>
451
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/ByteUtils.html#round_up(int, int)">round_up</A></B>(int&nbsp;value,
452
         int&nbsp;multiple)</CODE>
453

  
454
<BR>
455
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Round a number up to a given multiple.</TD>
456
</TR>
457
<TR BGCOLOR="white" CLASS="TableRowColor">
458
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
459
<CODE>static&nbsp;void</CODE></FONT></TD>
460
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/ByteUtils.html#shortToBytes(short, byte[], int[])">shortToBytes</A></B>(short&nbsp;s,
461
             byte[]&nbsp;data,
462
             int[]&nbsp;offset)</CODE>
463

  
464
<BR>
465
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Write the bytes representing <code>s</code> into the byte array
466
 <code>data</code>, starting at index <code>offset [0]</code>, and
467
 increment <code>offset [0]</code> by the number of bytes written; if
468
 <code>data == null</code>, increment <code>offset [0]</code> by the
469
 number of bytes that would have been written otherwise.</TD>
470
</TR>
471
<TR BGCOLOR="white" CLASS="TableRowColor">
472
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
473
<CODE>static&nbsp;void</CODE></FONT></TD>
474
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/ByteUtils.html#stringToBytes(java.lang.String, byte[], int[])">stringToBytes</A></B>(java.lang.String&nbsp;s,
475
              byte[]&nbsp;data,
476
              int[]&nbsp;offset)</CODE>
477

  
478
<BR>
479
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Write the bytes representing <code>s</code> into the byte array
480
 <code>data</code>, starting at index <code>offset [0]</code>, and
481
 increment <code>offset [0]</code> by the number of bytes written; if
482
 <code>data == null</code>, increment <code>offset [0]</code> by the
483
 number of bytes that would have been written otherwise.</TD>
484
</TR>
485
<TR BGCOLOR="white" CLASS="TableRowColor">
486
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
487
<CODE>static&nbsp;byte[]</CODE></FONT></TD>
488
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/ByteUtils.html#zero_pad(byte[], int)">zero_pad</A></B>(byte[]&nbsp;original,
489
         int&nbsp;block_size)</CODE>
490

  
491
<BR>
492
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return a new array equal to original except zero-padded to an integral
493
 mulitple of blocks.  </TD>
494
</TR>
495
</TABLE>
496
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
497
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
498
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
499
<TD><B>Methods inherited from class java.lang.Object</B></TD>
500
</TR>
501
<TR BGCOLOR="white" CLASS="TableRowColor">
502
<TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
503
</TR>
504
</TABLE>
505
&nbsp;
506
<P>
507

  
508
<!-- ============ FIELD DETAIL =========== -->
509

  
510
<A NAME="field_detail"><!-- --></A>
511
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
512
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
513
<TD COLSPAN=1><FONT SIZE="+2">
514
<B>Field Detail</B></FONT></TD>
515
</TR>
516
</TABLE>
517

  
518
<A NAME="SIZE_BOOL"><!-- --></A><H3>
519
SIZE_BOOL</H3>
520
<PRE>
521
public static final int <B>SIZE_BOOL</B></PRE>
522
<DL>
523
<DL>
524
<DT><B>See Also:</B><DD><A HREF="../../../../../../../constant-values.html#com.iver.cit.gvsig.fmap.drivers.dgn.ByteUtils.SIZE_BOOL">Constant Field Values</A></DL>
525
</DL>
526
<HR>
527

  
528
<A NAME="SIZE_SHORT"><!-- --></A><H3>
529
SIZE_SHORT</H3>
530
<PRE>
531
public static final int <B>SIZE_SHORT</B></PRE>
532
<DL>
533
<DL>
534
<DT><B>See Also:</B><DD><A HREF="../../../../../../../constant-values.html#com.iver.cit.gvsig.fmap.drivers.dgn.ByteUtils.SIZE_SHORT">Constant Field Values</A></DL>
535
</DL>
536
<HR>
537

  
538
<A NAME="SIZE_INT"><!-- --></A><H3>
539
SIZE_INT</H3>
540
<PRE>
541
public static final int <B>SIZE_INT</B></PRE>
542
<DL>
543
<DL>
544
<DT><B>See Also:</B><DD><A HREF="../../../../../../../constant-values.html#com.iver.cit.gvsig.fmap.drivers.dgn.ByteUtils.SIZE_INT">Constant Field Values</A></DL>
545
</DL>
546
<HR>
547

  
548
<A NAME="SIZE_LONG"><!-- --></A><H3>
549
SIZE_LONG</H3>
550
<PRE>
551
public static final int <B>SIZE_LONG</B></PRE>
552
<DL>
553
<DL>
554
<DT><B>See Also:</B><DD><A HREF="../../../../../../../constant-values.html#com.iver.cit.gvsig.fmap.drivers.dgn.ByteUtils.SIZE_LONG">Constant Field Values</A></DL>
555
</DL>
556
<HR>
557

  
558
<A NAME="SIZE_DOUBLE"><!-- --></A><H3>
559
SIZE_DOUBLE</H3>
560
<PRE>
561
public static final int <B>SIZE_DOUBLE</B></PRE>
562
<DL>
563
<DL>
564
<DT><B>See Also:</B><DD><A HREF="../../../../../../../constant-values.html#com.iver.cit.gvsig.fmap.drivers.dgn.ByteUtils.SIZE_DOUBLE">Constant Field Values</A></DL>
565
</DL>
566
<HR>
567

  
568
<A NAME="digits"><!-- --></A><H3>
569
digits</H3>
570
<PRE>
571
public static final char[] <B>digits</B></PRE>
572
<DL>
573
<DD>A nibble->char mapping for printing out bytes.
574
<P>
575
<DL>
576
</DL>
577
</DL>
578

  
579
<!-- ========= CONSTRUCTOR DETAIL ======== -->
580

  
581
<A NAME="constructor_detail"><!-- --></A>
582
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
583
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
584
<TD COLSPAN=1><FONT SIZE="+2">
585
<B>Constructor Detail</B></FONT></TD>
586
</TR>
587
</TABLE>
588

  
589
<A NAME="ByteUtils()"><!-- --></A><H3>
590
ByteUtils</H3>
591
<PRE>
592
public <B>ByteUtils</B>()</PRE>
593
<DL>
594
</DL>
595

  
596
<!-- ============ METHOD DETAIL ========== -->
597

  
598
<A NAME="method_detail"><!-- --></A>
599
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
600
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
601
<TD COLSPAN=1><FONT SIZE="+2">
602
<B>Method Detail</B></FONT></TD>
603
</TR>
604
</TABLE>
605

  
606
<A NAME="bytesToInt(byte[], int[])"><!-- --></A><H3>
607
bytesToInt</H3>
608
<PRE>
609
public static final int <B>bytesToInt</B>(byte[]&nbsp;data,
610
                                   int[]&nbsp;offset)</PRE>
611
<DL>
612
<DD>Return the <code>int</code> represented by the bytes in
613
 <code>data</code> staring at offset <code>offset[0]</code>.
614
<P>
615
<DD><DL>
616
<DT><B>Parameters:</B><DD><CODE>data</CODE> - the array from which to read<DD><CODE>offset</CODE> - A single element array whose first element is the index in
617
 		  data from which to begin reading on function entry, and which on
618
 		  function exit has been incremented by the number of bytes read.
619
<DT><B>Returns:</B><DD>the value of the <code>int</code> decoded</DL>
620
</DD>
621
</DL>
622
<HR>
623

  
624
<A NAME="intToBytes(int, byte[], int[])"><!-- --></A><H3>
625
intToBytes</H3>
626
<PRE>
627
public static final void <B>intToBytes</B>(int&nbsp;i,
628
                                    byte[]&nbsp;data,
629
                                    int[]&nbsp;offset)</PRE>
630
<DL>
631
<DD>Write the bytes representing <code>i</code> into the byte array
632
 <code>data</code>, starting at index <code>offset [0]</code>, and
633
 increment <code>offset [0]</code> by the number of bytes written; if
634
 <code>data == null</code>, increment <code>offset [0]</code> by the
635
 number of bytes that would have been written otherwise.
636
<P>
637
<DD><DL>
638
<DT><B>Parameters:</B><DD><CODE>i</CODE> - the <code>int</code> to encode<DD><CODE>data</CODE> - The byte array to store into, or <code>null</code>.<DD><CODE>offset</CODE> - A single element array whose first element is the index in
639
 		  data to begin writing at on function entry, and which on
640
 		  function exit has been incremented by the number of bytes
641
 		  written.</DL>
642
</DD>
643
</DL>
644
<HR>
645

  
646
<A NAME="bytesToShort(byte[], int[])"><!-- --></A><H3>
647
bytesToShort</H3>
648
<PRE>
649
public static final short <B>bytesToShort</B>(byte[]&nbsp;data,
650
                                       int[]&nbsp;offset)</PRE>
651
<DL>
652
<DD>Return the <code>short</code> represented by the bytes in
653
 <code>data</code> staring at offset <code>offset[0]</code>.
654
<P>
655
<DD><DL>
656
<DT><B>Parameters:</B><DD><CODE>data</CODE> - the array from which to read<DD><CODE>offset</CODE> - A single element array whose first element is the index in
657
 		  data from which to begin reading on function entry, and which on
658
 		  function exit has been incremented by the number of bytes read.
659
<DT><B>Returns:</B><DD>the value of the <code>short</code> decoded</DL>
660
</DD>
661
</DL>
662
<HR>
663

  
664
<A NAME="shortToBytes(short, byte[], int[])"><!-- --></A><H3>
665
shortToBytes</H3>
666
<PRE>
667
public static final void <B>shortToBytes</B>(short&nbsp;s,
668
                                      byte[]&nbsp;data,
669
                                      int[]&nbsp;offset)</PRE>
670
<DL>
671
<DD>Write the bytes representing <code>s</code> into the byte array
672
 <code>data</code>, starting at index <code>offset [0]</code>, and
673
 increment <code>offset [0]</code> by the number of bytes written; if
674
 <code>data == null</code>, increment <code>offset [0]</code> by the
675
 number of bytes that would have been written otherwise.
676
<P>
677
<DD><DL>
678
<DT><B>Parameters:</B><DD><CODE>s</CODE> - the <code>short</code> to encode<DD><CODE>data</CODE> - The byte array to store into, or <code>null</code>.<DD><CODE>offset</CODE> - A single element array whose first element is the index in
679
 		  data to begin writing at on function entry, and which on
680
 		  function exit has been incremented by the number of bytes
681
 		  written.</DL>
682
</DD>
683
</DL>
684
<HR>
685

  
686
<A NAME="bytesToLong(byte[], int[])"><!-- --></A><H3>
687
bytesToLong</H3>
688
<PRE>
689
public static final long <B>bytesToLong</B>(byte[]&nbsp;data,
690
                                     int[]&nbsp;offset)</PRE>
691
<DL>
692
<DD>Return the <code>long</code> represented by the bytes in
693
 <code>data</code> staring at offset <code>offset[0]</code>.
694
<P>
695
<DD><DL>
696
<DT><B>Parameters:</B><DD><CODE>data</CODE> - the array from which to read<DD><CODE>offset</CODE> - A single element array whose first element is the index in
697
 		  data from which to begin reading on  function entry, and which
698
 		  on function exit has been incremented by the number of bytes
699
 		  read.
700
<DT><B>Returns:</B><DD>the value of the <code>long</code> decoded</DL>
701
</DD>
702
</DL>
703
<HR>
704

  
705
<A NAME="longToBytes(long, byte[], int[])"><!-- --></A><H3>
706
longToBytes</H3>
707
<PRE>
708
public static final void <B>longToBytes</B>(long&nbsp;l,
709
                                     byte[]&nbsp;data,
710
                                     int[]&nbsp;offset)</PRE>
711
<DL>
712
<DD>Write the bytes representing <code>l</code> into the byte array
713
 <code>data</code>, starting at index <code>offset [0]</code>, and
714
 increment <code>offset [0]</code> by the number of bytes written; if
715
 <code>data == null</code>, increment <code>offset [0]</code> by the
716
 number of bytes that would have been written otherwise.
717
<P>
718
<DD><DL>
719
<DT><B>Parameters:</B><DD><CODE>l</CODE> - the <code>long</code> to encode<DD><CODE>data</CODE> - The byte array to store into, or <code>null</code>.<DD><CODE>offset</CODE> - A single element array whose first element is the index in
720
 		  data to begin writing at on function entry, and which on
721
 		  function exit has been incremented by the number of bytes
722
 		  written.</DL>
723
</DD>
724
</DL>
725
<HR>
726

  
727
<A NAME="bytesToDouble(byte[], int[])"><!-- --></A><H3>
728
bytesToDouble</H3>
729
<PRE>
730
public static final double <B>bytesToDouble</B>(byte[]&nbsp;data,
731
                                         int[]&nbsp;offset)</PRE>
732
<DL>
733
<DD>Return the <code>double</code> represented by the bytes in
734
 <code>data</code> staring at offset <code>offset[0]</code>.
735
<P>
736
<DD><DL>
737
<DT><B>Parameters:</B><DD><CODE>data</CODE> - the array from which to read<DD><CODE>offset</CODE> - A single element array whose first element is the index in
738
 		  data from which to begin reading on  function entry, and which
739
 		  on function exit has been incremented by the number of bytes
740
 		  read.
741
<DT><B>Returns:</B><DD>the value of the <code>double</code> decoded</DL>
742
</DD>
743
</DL>
744
<HR>
745

  
746
<A NAME="doubleToBytes(double, byte[], int[])"><!-- --></A><H3>
747
doubleToBytes</H3>
748
<PRE>
749
public static final void <B>doubleToBytes</B>(double&nbsp;d,
750
                                       byte[]&nbsp;data,
751
                                       int[]&nbsp;offset)</PRE>
752
<DL>
753
<DD>Write the bytes representing <code>d</code> into the byte array
754
 <code>data</code>, starting at index <code>offset [0]</code>, and
755
 increment <code>offset [0]</code> by the number of bytes written; if
756
 <code>data == null</code>, increment <code>offset [0]</code> by the
757
 number of bytes that would have been written otherwise.
758
<P>
759
<DD><DL>
760
<DT><B>Parameters:</B><DD><CODE>d</CODE> - the <code>double</code> to encode<DD><CODE>data</CODE> - The byte array to store into, or <code>null</code>.<DD><CODE>offset</CODE> - A single element array whose first element is the index in
761
 		  data to begin writing at on function entry, and which on
762
 		  function exit has been incremented by the number of bytes
763
 		  written.</DL>
764
</DD>
765
</DL>
766
<HR>
767

  
768
<A NAME="bytesToString(byte[], int[])"><!-- --></A><H3>
769
bytesToString</H3>
770
<PRE>
771
public static final java.lang.String <B>bytesToString</B>(byte[]&nbsp;data,
772
                                                   int[]&nbsp;offset)</PRE>
773
<DL>
774
<DD>Return the <code>String</code> represented by the bytes in
775
 <code>data</code> staring at offset <code>offset[0]</code>. This method
776
 relies on the user using the corresponding <code>stringToBytes</code>
777
 method to encode the <code>String</code>, so that it may properly
778
 retrieve the <code>String</code> length.
779
<P>
780
<DD><DL>
781
<DT><B>Parameters:</B><DD><CODE>data</CODE> - the array from which to read<DD><CODE>offset</CODE> - A single element array whose first element is the index in
782
 		  data from which to begin reading on function entry, and which on
783
 		  function exit has been incremented by the number of bytes read.
784
<DT><B>Returns:</B><DD>the value of the <code>String</code> decoded</DL>
785
</DD>
786
</DL>
787
<HR>
788

  
789
<A NAME="stringToBytes(java.lang.String, byte[], int[])"><!-- --></A><H3>
790
stringToBytes</H3>
791
<PRE>
792
public static final void <B>stringToBytes</B>(java.lang.String&nbsp;s,
793
                                       byte[]&nbsp;data,
794
                                       int[]&nbsp;offset)</PRE>
795
<DL>
796
<DD>Write the bytes representing <code>s</code> into the byte array
797
 <code>data</code>, starting at index <code>offset [0]</code>, and
798
 increment <code>offset [0]</code> by the number of bytes written; if
799
 <code>data == null</code>, increment <code>offset [0]</code> by the
800
 number of bytes that would have been written otherwise.
801
<P>
802
<DD><DL>
803
<DT><B>Parameters:</B><DD><CODE>s</CODE> - the <code>String</code> to encode<DD><CODE>data</CODE> - The byte array to store into, or <code>null</code>.<DD><CODE>offset</CODE> - A single element array whose first element is the index in
804
 		  data to begin writing at on function entry, and which on
805
 		  function exit has been incremented by the number of bytes
806
 		  written.</DL>
807
</DD>
808
</DL>
809
<HR>
810

  
811
<A NAME="bytesToBool(byte[], int[])"><!-- --></A><H3>
812
bytesToBool</H3>
813
<PRE>
814
public static final boolean <B>bytesToBool</B>(byte[]&nbsp;data,
815
                                        int[]&nbsp;offset)</PRE>
816
<DL>
817
<DD>Return the <code>boolean</code> represented by the bytes in
818
 <code>data</code> staring at offset <code>offset[0]</code>.
819
<P>
820
<DD><DL>
821
<DT><B>Parameters:</B><DD><CODE>data</CODE> - the array from which to read<DD><CODE>offset</CODE> - A single element array whose first element is the index in
822
 		  data from which to begin reading on  function entry, and which
823
 		  on function exit has been incremented by the number of bytes
824
 		  read.
825
<DT><B>Returns:</B><DD>the value of the <code>boolean</code> decoded</DL>
826
</DD>
827
</DL>
828
<HR>
829

  
830
<A NAME="boolToBytes(boolean, byte[], int[])"><!-- --></A><H3>
831
boolToBytes</H3>
832
<PRE>
833
public static final void <B>boolToBytes</B>(boolean&nbsp;b,
834
                                     byte[]&nbsp;data,
835
                                     int[]&nbsp;offset)</PRE>
836
<DL>
837
<DD>Write the bytes representing <code>b</code> into the byte array
838
 <code>data</code>, starting at index <code>offset [0]</code>, and
839
 increment <code>offset [0]</code> by the number of bytes written; if
840
 <code>data == null</code>, increment <code>offset [0]</code> by the
841
 number of bytes that would have been written otherwise.
842
<P>
843
<DD><DL>
844
<DT><B>Parameters:</B><DD><CODE>b</CODE> - the <code>boolean</code> to encode<DD><CODE>data</CODE> - The byte array to store into, or <code>null</code>.<DD><CODE>offset</CODE> - A single element array whose first element is the index in
845
 		  data to begin writing at on function entry, and which on
846
 		  function exit has been incremented by the number of bytes
847
 		  written.</DL>
848
</DD>
849
</DL>
850
<HR>
851

  
852
<A NAME="bytesToBigInteger(byte[], int[])"><!-- --></A><H3>
853
bytesToBigInteger</H3>
854
<PRE>
855
public static final java.math.BigInteger <B>bytesToBigInteger</B>(byte[]&nbsp;data,
856
                                                           int[]&nbsp;offset)</PRE>
857
<DL>
858
<DD>Return the <code>BigInteger</code> represented by the bytes in
859
 <code>data</code> staring at offset <code>offset[0]</code>.
860
<P>
861
<DD><DL>
862
<DT><B>Parameters:</B><DD><CODE>data</CODE> - the array from which to read<DD><CODE>offset</CODE> - A single element array whose first element is the index in
863
 		  data from which to begin reading on  function entry, and which
864
 		  on function exit has been incremented by the number of bytes
865
 		  read.
866
<DT><B>Returns:</B><DD>the <code>BigInteger</code> decoded</DL>
867
</DD>
868
</DL>
869
<HR>
870

  
871
<A NAME="bigIntegerToBytes(java.math.BigInteger, byte[], int[])"><!-- --></A><H3>
872
bigIntegerToBytes</H3>
873
<PRE>
874
public static final void <B>bigIntegerToBytes</B>(java.math.BigInteger&nbsp;n,
875
                                           byte[]&nbsp;data,
876
                                           int[]&nbsp;offset)</PRE>
877
<DL>
878
<DD>Write the bytes representing <code>n</code> into the byte array
879
 <code>data</code>, starting at index <code>offset [0]</code>, and
880
 increment <code>offset [0]</code> by the number of bytes written; if
881
 <code>data == null</code>, increment <code>offset [0]</code> by the
882
 number of bytes that would have been written otherwise.
883
<P>
884
<DD><DL>
885
<DT><B>Parameters:</B><DD><CODE>n</CODE> - the <code>BigInteger</code> to encode<DD><CODE>data</CODE> - The byte array to store into, or <code>null</code>.<DD><CODE>offset</CODE> - A single element array whose first element is the index in
886
 		  data to begin writing at on function entry, and which on
887
 		  function exit has been incremented by the number of bytes
888
 		  written.</DL>
889
</DD>
890
</DL>
891
<HR>
892

  
893
<A NAME="bytesToInts(int[], int, byte[], int, int)"><!-- --></A><H3>
894
bytesToInts</H3>
895
<PRE>
896
public static final void <B>bytesToInts</B>(int[]&nbsp;dst,
897
                                     int&nbsp;dst_offset,
898
                                     byte[]&nbsp;src,
899
                                     int&nbsp;src_offset,
900
                                     int&nbsp;length)</PRE>
901
<DL>
902
<DD>Convert an array of <code>bytes</code>s into an array of
903
 <code>ints</code>.
904
<P>
905
<DD><DL>
906
<DT><B>Parameters:</B><DD><CODE>dst</CODE> - the array to write<DD><CODE>dst_offset</CODE> - the start offset in <code>dst</code>, times 4. This
907
 		  measures the offset as if <code>dst</code> were an array of
908
 		  <code>byte</code>s (rather than <code>int</code>s).<DD><CODE>src</CODE> - the array to read<DD><CODE>src_offset</CODE> - the start offset in <code>src</code><DD><CODE>length</CODE> - the number of <code>byte</code>s to copy.</DL>
909
</DD>
910
</DL>
911
<HR>
912

  
913
<A NAME="intsToBytes(byte[], int, int[], int, int)"><!-- --></A><H3>
914
intsToBytes</H3>
915
<PRE>
916
public static final void <B>intsToBytes</B>(byte[]&nbsp;dst,
917
                                     int&nbsp;dst_offset,
918
                                     int[]&nbsp;src,
919
                                     int&nbsp;src_offset,
920
                                     int&nbsp;length)</PRE>
921
<DL>
922
<DD>Convert an array of <code>int</code>s into an array of
923
 <code>bytes</code>.
924
<P>
925
<DD><DL>
926
<DT><B>Parameters:</B><DD><CODE>dst</CODE> - the array to write<DD><CODE>dst_offset</CODE> - the start offset in <code>dst</code><DD><CODE>src</CODE> - the array to read<DD><CODE>src_offset</CODE> - the start offset in <code>src</code>, times 4. This
927
 		  measures the offset as if <code>src</code> were an array of
928
 		  <code>byte</code>s (rather than <code>int</code>s).<DD><CODE>length</CODE> - the number of <code>byte</code>s to copy.</DL>
929
</DD>
930
</DL>
931
<HR>
932

  
933
<A NAME="byteToUnsignedInt(byte)"><!-- --></A><H3>
934
byteToUnsignedInt</H3>
935
<PRE>
936
public static final int <B>byteToUnsignedInt</B>(byte&nbsp;b)</PRE>
937
<DL>
938
<DD>Convert a <code>byte</code> into an unsigned integer.
939
<P>
940
<DD><DL>
941
<DT><B>Parameters:</B><DD><CODE>b</CODE> - the <code>byte</code> to cast
942
<DT><B>Returns:</B><DD>a postiive <code>int</code> whose lowest byte contains the bits
943
 		   of <code>b</code>.</DL>
944
</DD>
945
</DL>
946
<HR>
947

  
948
<A NAME="memcpy(byte[], int, byte[], int, int)"><!-- --></A><H3>
949
memcpy</H3>
950
<PRE>
951
public static int <B>memcpy</B>(byte[]&nbsp;dst,
952
                         int&nbsp;dst_offset,
953
                         byte[]&nbsp;src,
954
                         int&nbsp;src_offset,
955
                         int&nbsp;length)</PRE>
956
<DL>
957
<DD>Copy contents of one array of <code>bytes</code> into another. If either
958
 array is <code>null</code>, simply return the <code>length</code>
959
 parameter directly.
960
<P>
961
<DD><DL>
962
<DT><B>Parameters:</B><DD><CODE>dst</CODE> - the array to write, or <code>null</code><DD><CODE>dst_offset</CODE> - the start offset in <code>dst</code><DD><CODE>src</CODE> - the array to read, or <code>null</code><DD><CODE>src_offset</CODE> - the start offset in <code>src</code><DD><CODE>length</CODE> - the number of <code>byte</code>s to copy.
963
<DT><B>Returns:</B><DD>DOCUMENT ME!</DL>
964
</DD>
965
</DL>
966
<HR>
967

  
968
<A NAME="memcmp(byte[], int, byte[], int, int)"><!-- --></A><H3>
969
memcmp</H3>
970
<PRE>
971
public static boolean <B>memcmp</B>(byte[]&nbsp;a,
972
                             int&nbsp;a_offset,
973
                             byte[]&nbsp;b,
974
                             int&nbsp;b_offset,
975
                             int&nbsp;length)</PRE>
976
<DL>
977
<DD>Compare the contents of one array of <code>bytes</code> to another.
978
<P>
979
<DD><DL>
980
<DT><B>Parameters:</B><DD><CODE>a</CODE> - the first array<DD><CODE>a_offset</CODE> - the start offset in <code>a</code><DD><CODE>b</CODE> - the second array<DD><CODE>b_offset</CODE> - the start offset in <code>b</code><DD><CODE>length</CODE> - the number of <code>byte</code>s to compare.
981
<DT><B>Returns:</B><DD>DOCUMENT ME!</DL>
982
</DD>
983
</DL>
984
<HR>
985

  
986
<A NAME="memclr(byte[], int, int)"><!-- --></A><H3>
987
memclr</H3>
988
<PRE>
989
public static void <B>memclr</B>(byte[]&nbsp;array,
990
                          int&nbsp;offset,
991
                          int&nbsp;length)</PRE>
992
<DL>
993
<DD>Fill the given array with zeros.
994
<P>
995
<DD><DL>
996
<DT><B>Parameters:</B><DD><CODE>array</CODE> - the array to clear<DD><CODE>offset</CODE> - the start offset<DD><CODE>length</CODE> - the number of <code>byte</code>s to clear.</DL>
997
</DD>
998
</DL>
999
<HR>
1000

  
1001
<A NAME="round_up(int, int)"><!-- --></A><H3>
1002
round_up</H3>
1003
<PRE>
1004
public static int <B>round_up</B>(int&nbsp;value,
1005
                           int&nbsp;multiple)</PRE>
1006
<DL>
1007
<DD>Round a number up to a given multiple.
1008
<P>
1009
<DD><DL>
1010
<DT><B>Parameters:</B><DD><CODE>value</CODE> - the number to be rounded<DD><CODE>multiple</CODE> - the number to which to be rounded
1011
<DT><B>Returns:</B><DD>the smallest <code>int</code> greater than or equal to
1012
 		   <code>value</code> which divides <code>multiple</code> exactly.</DL>
1013
</DD>
1014
</DL>
1015
<HR>
1016

  
1017
<A NAME="zero_pad(byte[], int)"><!-- --></A><H3>
1018
zero_pad</H3>
1019
<PRE>
1020
public static byte[] <B>zero_pad</B>(byte[]&nbsp;original,
1021
                              int&nbsp;block_size)</PRE>
1022
<DL>
1023
<DD>Return a new array equal to original except zero-padded to an integral
1024
 mulitple of blocks.  If the original is already an integral multiple of
1025
 blocks, just return it.
1026
<P>
1027
<DD><DL>
1028
<DT><B>Parameters:</B><DD><CODE>original</CODE> - the array of <code>byte</code>s to be padded<DD><CODE>block_size</CODE> - the size of the blocks
1029
<DT><B>Returns:</B><DD>an array whose size divides <code>block_size</code> exactly. The
1030
 		   array is either <code>original</code> itself, or a copy whose
1031
 		   first <code>original.length</code> bytes are equal to
1032
 		   <code>original</code>.</DL>
1033
</DD>
1034
</DL>
1035
<HR>
1036

  
1037
<A NAME="equals(byte[], byte[])"><!-- --></A><H3>
1038
equals</H3>
1039
<PRE>
1040
public static boolean <B>equals</B>(byte[]&nbsp;b1,
1041
                             byte[]&nbsp;b2)</PRE>
1042
<DL>
1043
<DD>Determines whether two arrays of <code>byte</code>s contain the same
1044
 contents.
1045
<P>
1046
<DD><DL>
1047
<DT><B>Parameters:</B><DD><CODE>b1</CODE> - The first array<DD><CODE>b2</CODE> - The second array
1048
<DT><B>Returns:</B><DD><code>true</code> if both arrays are <code>null</code>, both
1049
 		   empty, or both of the same length with equal contents.</DL>
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff