PofHelper Class |
Namespace: Tangosol.IO.Pof
public abstract class PofHelper
The PofHelper type exposes the following members.
| Name | Description | |
|---|---|---|
| CalcDecimalSize |
Determine the minimum size (in bytes) of the IEEE754 decimal type
that would be capable of holding the passed value.
| |
| CheckDate |
Validate date information.
| |
| CheckDayTimeInterval |
Validate a day-time interval.
| |
| CheckDecimalRange |
Verify that the specified Decimal value will fit in the specified
number of bytes.
| |
| CheckElementCount |
Verify that the number of elements is valid.
| |
| CheckReferenceRange |
Validate a reference identifier to make sure it is in a valid
range.
| |
| CheckTime |
Validate time information.
| |
| CheckTimeInterval |
Validate a time interval.
| |
| CheckTimeZone |
Check the specified timezone offset.
| |
| CheckType |
Validate a type identifier.
| |
| CheckYearMonthInterval |
Validate a year-month interval.
| |
| ContainsPackedInt32 |
Determine if the specified byte array contains a packed
32-bit integer.
| |
| ConvertNumber |
Convert the passed number to the specified type.
| |
| DecodeTinyInt |
Decode an integer value from one of the reserved single-byte
combined type and value indicators.
| |
| EncodeTinyInt |
Encode an integer value into one of the reserved single-byte
combined type and value indicators.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| FormatDate |
Format a date in the form YYYY-MM-DD.
| |
| FormatTime(Int32, Int32, Int32, Int32, Boolean) |
Format a time.
| |
| FormatTime(Int32, Int32, Int32, Int32, Int32, Int32) |
Format a time.
| |
| GetDotNetType |
Returns a .NET Type based on the POF type identifer.
| |
| GetDotNetTypeId |
Returns an identifier that represents the .NET type of the
specified object.
| |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetPofTypeId |
Return an identifier that represents the POF type of the
specified type.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IsIntrinsicPofType |
Determine if the given type can be represented as an intrinsic
POF type.
| |
| LengthPackedInt32 |
Determine the number of bytes required to encode the given integer
using a packed 32-bit format.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ReadAsChar |
Read a value of the specified encoding from the POF stream and
convert it to a char.
| |
| ReadAsDecimal |
Read a value of the specified encoding from the POF stream and
convert it to a Decimal.
| |
| ReadAsDouble |
Read a value of the specified encoding from the POF stream and
convert it to a Double.
| |
| ReadAsInt32 |
Read a value of the specified encoding from the POF stream and
convert it to an Int32.
| |
| ReadAsInt64 |
Read a value of the specified encoding from the POF stream and
convert it to an Int64.
| |
| ReadAsRawInt128 |
Read a value of the specified encoding from the POF stream and
convert it to an RawInt128.
| |
| ReadAsSingle |
Read a value of the specified encoding from the POF stream and
convert it to a Single.
| |
| ReadChar |
Read a Char value from the passed
DataReader.
| |
| ReadDate |
Read a literal DateTime value from a POF stream.
| |
| ReadDateTime |
Read a literal DateTime value from a POF stream.
| |
| ReadDecimal(DataReader) |
Read Decimal value from DataReader.
| |
| ReadDecimal(DataReader, Int32) |
Read Decimal value from DataReader.
| |
| ReadRawTime |
Read a RawTime value from a POF stream.
| |
| ReadUniversalDateTime |
Read a UTC DateTime value from a POF stream.
| |
| ResizeArray(Array, Int32) |
Expand the passed array to contain the specified number of
elements.
| |
| ResizeArray(Array, Int32, Type) |
Expand the passed array to contain the specified number of
elements.
| |
| SkipPackedInts |
Skip the specified number of packed integers in the passed POF
stream.
| |
| SkipUniformValue |
Within the POF stream, skip the next POF value of the specified
type.
| |
| SkipValue |
Within the POF stream, skip the next POF value.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| WriteDate |
Write a date value to a DataWriter object.
| |
| WriteDecimal(DataWriter, Decimal) |
Write a Decimal to the passed DataWriter stream as
a decimal value.
| |
| WriteDecimal(DataWriter, Decimal, Int32) |
Write a Decimal to the passed DataWriter stream as
a decimal value.
| |
| WriteTime |
Write a time value to a DataWriter object.
|
| Name | Description | |
|---|---|---|
| BIGDECIMAL_ZERO |
The default BigDecimal value.
| |
| BINARY_EMPTY |
An empty Binary value.
| |
| BOOLEAN_ARRAY_EMPTY |
An empty array of bytes.
| |
| BYTE_ARRAY_EMPTY |
An empty array of bytes.
| |
| CHAR_ARRAY_EMPTY |
An empty array of chars.
| |
| COLLECTION_EMPTY |
An empty (and immutable) collection.
| |
| DOUBLE_ARRAY_EMPTY |
An empty array of doubles.
| |
| INT16_ARRAY_EMPTY |
An empty array of shorts.
| |
| INT32_ARRAY_EMPTY |
An empty array of ints.
| |
| INT64_ARRAY_EMPTY |
An empty array of longs.
| |
| OBJECT_ARRAY_EMPTY |
An empty array of objects.
| |
| SINGLE_ARRAY_EMPTY |
An empty array of floats.
|