Class ByteNode
Valued node representing a byte (8-bit unsigned integer).
Implements
Inherited Members
Namespace: VDS.RDF.Nodes
Assembly: dotNetRdf.dll
Syntax
public class ByteNode : NumericNode, ILiteralNode, IEquatable<BaseLiteralNode>, IComparable<BaseLiteralNode>, IEquatable<LiteralNode>, IComparable<LiteralNode>, IValuedNode, INode, IComparable<INode>, IComparable<IBlankNode>, IComparable<IGraphLiteralNode>, IComparable<ILiteralNode>, IComparable<IUriNode>, IComparable<IVariableNode>, IComparable<IRefNode>, IComparable<ITripleNode>, IEquatable<INode>, IEquatable<IBlankNode>, IEquatable<IGraphLiteralNode>, IEquatable<ILiteralNode>, IEquatable<IUriNode>, IEquatable<IVariableNode>, IEquatable<IRefNode>, IEquatable<ITripleNode>
Constructors
| Edit this page View SourceByteNode(byte)
Creates a new byte valued node.
Declaration
public ByteNode(byte value)
Parameters
Type | Name | Description |
---|---|---|
byte | value | Byte value. |
ByteNode(byte, string)
Creates a new byte valued node.
Declaration
public ByteNode(byte value, string lexicalValue)
Parameters
Type | Name | Description |
---|---|---|
byte | value | Byte value. |
string | lexicalValue | Lexical value. |
Methods
| Edit this page View SourceAsDecimal()
Gets the decimal value of the byte.
Declaration
public override decimal AsDecimal()
Returns
Type | Description |
---|---|
decimal |
Overrides
| Edit this page View SourceAsDouble()
Gets the float value of the double.
Declaration
public override double AsDouble()
Returns
Type | Description |
---|---|
double |
Overrides
| Edit this page View SourceAsFloat()
Gets the float value of the byte.
Declaration
public override float AsFloat()
Returns
Type | Description |
---|---|
float |
Overrides
| Edit this page View SourceAsInteger()
Gets the integer value of the byte.
Declaration
public override long AsInteger()
Returns
Type | Description |
---|---|
long |