TransformerTFromBytesCore Method (Byte, Int32, Int32, Encoding) |
Transforms the content of a byte array into an instance of type T.
Namespace:
Enkoni.Framework.Serialization
Assembly:
Enkoni.Framework.Serialization (in Enkoni.Framework.Serialization.dll) Version: 1.3.0.1
Syntaxprotected abstract T FromBytesCore(
byte[] bytes,
int offset,
int length,
Encoding encoding
)
Protected MustOverride Function FromBytesCore (
bytes As Byte(),
offset As Integer,
length As Integer,
encoding As Encoding
) As T
protected:
virtual T FromBytesCore(
array<unsigned char>^ bytes,
int offset,
int length,
Encoding^ encoding
) abstract
abstract FromBytesCore :
bytes : byte[] *
offset : int *
length : int *
encoding : Encoding -> 'T
Parameters
- bytes
- Type: SystemByte
The byte array whose content must be transformed. - offset
- Type: SystemInt32
The offset from which to start reading bytes. - length
- Type: SystemInt32
The number of bytes that must be read from the array. - encoding
- Type: System.TextEncoding
The encoding that must be used to transform the bytes.
Return Value
Type:
TThe transformed instance.
See Also