Implements a BINARY
object that handles a limited number of bytes, not exceding MaxLength.
More...
|
const int | MaxLength = Int32.MaxValue - 1 |
| A constant value defining the maximum allowed length of bytes that this binary can handle. More...
|
|
Implements a BINARY
object that handles a limited number of bytes, not exceding MaxLength.
Definition at line 27 of file SqlBinary.cs.
Deveel.Data.Sql.Objects.SqlBinary.SqlBinary |
( |
byte[] |
source | ) |
|
|
inline |
Definition at line 38 of file SqlBinary.cs.
39 :
this(source, source == null ? 0 : source.Length) {
Deveel.Data.Sql.Objects.SqlBinary.SqlBinary |
( |
byte[] |
source, |
|
|
int |
length |
|
) |
| |
|
inline |
Definition at line 42 of file SqlBinary.cs.
43 :
this(source, 0, length) {
Deveel.Data.Sql.Objects.SqlBinary.SqlBinary |
( |
byte[] |
source, |
|
|
int |
offset, |
|
|
int |
length |
|
) |
| |
|
inline |
Definition at line 46 of file SqlBinary.cs.
52 throw new ArgumentOutOfRangeException(
"length");
54 bytes =
new byte[length];
const int MaxLength
A constant value defining the maximum allowed length of bytes that this binary can handle...
int IComparable. Deveel.Data.Sql.Objects.SqlBinary.CompareTo |
( |
object |
obj | ) |
|
|
inline |
Definition at line 59 of file SqlBinary.cs.
60 return (
this as IComparable<ISqlObject>).CompareTo((ISqlObject) obj);
Definition at line 63 of file SqlBinary.cs.
64 throw new NotSupportedException();
IEnumerator<byte> Deveel.Data.Sql.Objects.SqlBinary.GetEnumerator |
( |
| ) |
|
|
inline |
Definition at line 77 of file SqlBinary.cs.
78 throw new NotImplementedException();
IEnumerator IEnumerable. Deveel.Data.Sql.Objects.SqlBinary.GetEnumerator |
( |
| ) |
|
|
inline |
Definition at line 81 of file SqlBinary.cs.
IEnumerator< byte > GetEnumerator()
Stream Deveel.Data.Sql.Objects.SqlBinary.GetInput |
( |
| ) |
|
|
inline |
bool ISqlObject. Deveel.Data.Sql.Objects.SqlBinary.IsComparableTo |
( |
ISqlObject |
other | ) |
|
|
inline |
Checks if the current object is comparable with the given one.
- Parameters
-
- Returns
- Returns
true
if the current object is comparable with the given one, false
otherwise.
Implements Deveel.Data.Sql.Objects.ISqlObject.
Definition at line 72 of file SqlBinary.cs.
byte [] Deveel.Data.Sql.Objects.SqlBinary.ToByteArray |
( |
| ) |
|
|
inline |
Returns an array of bytes representing the contents of the binary.
- Returns
Definition at line 102 of file SqlBinary.cs.
106 var destArray =
new byte[
bytes.Length];
readonly byte [] Deveel.Data.Sql.Objects.SqlBinary.bytes |
|
private |
const int Deveel.Data.Sql.Objects.SqlBinary.MaxLength = Int32.MaxValue - 1 |
A constant value defining the maximum allowed length of bytes that this binary can handle.
- See also
- Length
Definition at line 36 of file SqlBinary.cs.
bool Deveel.Data.Sql.Objects.SqlBinary.IsNull |
|
get |
long Deveel.Data.Sql.Objects.SqlBinary.Length |
|
get |
The documentation for this struct was generated from the following file:
- /var/calculate/remote/distfiles/egit-src/deveeldb.git/src/deveeldb/Deveel.Data.Sql.Objects/SqlBinary.cs