Index: src/Common/SharpMap/Converters/WellKnownBinary/GeometryFromWKB.cs
===================================================================
diff -u -r8f6ae890fed8e8eae3a32f9c0498a10f82e0ddf9 -r5fc71a385897af92ccb092f2f969b5709afab85a
--- src/Common/SharpMap/Converters/WellKnownBinary/GeometryFromWKB.cs (.../GeometryFromWKB.cs) (revision 8f6ae890fed8e8eae3a32f9c0498a10f82e0ddf9)
+++ src/Common/SharpMap/Converters/WellKnownBinary/GeometryFromWKB.cs (.../GeometryFromWKB.cs) (revision 5fc71a385897af92ccb092f2f969b5709afab85a)
@@ -40,32 +40,31 @@
namespace SharpMap.Converters.WellKnownBinary
{
- ///
- /// Converts Well-known Binary representations to a instance.
- ///
- ///
- /// The Well-known Binary Representation for (WKBGeometry) provides a portable
- /// representation of a value as a contiguous stream of bytes. It permits
- /// values to be exchanged between an ODBC client and an SQL database in binary form.
- /// The Well-known Binary Representation for is obtained by serializing a
- /// instance as a sequence of numeric types drawn from the set {Unsigned Integer, Double} and
- /// then serializing each numeric type as a sequence of bytes using one of two well defined,
- /// standard, binary representations for numeric types (NDR, XDR). The specific binary encoding
- /// (NDR or XDR) used for a geometry byte stream is described by a one byte tag that precedes
- /// the serialized bytes. The only difference between the two encodings of geometry is one of
- /// byte order, the XDR encoding is Big Endian, the NDR encoding is Little Endian.
- ///
- public class GeometryFromWKB
- {
-
- ///
- /// Creates a from the supplied byte[] containing the Well-known Binary representation.
- ///
- /// byte[] containing the Well-known Binary representation.
- /// A bases on the supplied Well-known Binary representation.
- public static IGeometry Parse(byte[] bytes)
- {
- return new WKBReader().Read(bytes);
+ ///
+ /// Converts Well-known Binary representations to a instance.
+ ///
+ ///
+ /// The Well-known Binary Representation for (WKBGeometry) provides a portable
+ /// representation of a value as a contiguous stream of bytes. It permits
+ /// values to be exchanged between an ODBC client and an SQL database in binary form.
+ /// The Well-known Binary Representation for is obtained by serializing a
+ /// instance as a sequence of numeric types drawn from the set {Unsigned Integer, Double} and
+ /// then serializing each numeric type as a sequence of bytes using one of two well defined,
+ /// standard, binary representations for numeric types (NDR, XDR). The specific binary encoding
+ /// (NDR or XDR) used for a geometry byte stream is described by a one byte tag that precedes
+ /// the serialized bytes. The only difference between the two encodings of geometry is one of
+ /// byte order, the XDR encoding is Big Endian, the NDR encoding is Little Endian.
+ ///
+ public class GeometryFromWKB
+ {
+ ///
+ /// Creates a from the supplied byte[] containing the Well-known Binary representation.
+ ///
+ /// byte[] containing the Well-known Binary representation.
+ /// A bases on the supplied Well-known Binary representation.
+ public static IGeometry Parse(byte[] bytes)
+ {
+ return new WKBReader().Read(bytes);
// // Create a memory stream using the suppiled byte array.
// using (MemoryStream ms = new MemoryStream(bytes))
// {
@@ -76,13 +75,13 @@
// return Parse(reader);
// }
// }
- }
+ }
- ///
- /// Creates a based on the Well-known binary representation.
- ///
- /// A BinaryReader used to read the Well-known binary representation.
- /// A based on the Well-known binary representation.
+ ///
+ /// Creates a based on the Well-known binary representation.
+ ///
+ /// A BinaryReader used to read the Well-known binary representation.
+ /// A based on the Well-known binary representation.
// public static Geometry Parse(BinaryReader reader)
// {
// // Get the first byte in the array. This specifies if the WKB is in
@@ -321,5 +320,5 @@
// else
// return reader.ReadDouble();
// }
- }
-}
+ }
+}
\ No newline at end of file