Implementation to write a value to the byteData of this instance Pointer.
value
byteData
void writeToByteData(ByteData byteData, int offset, T value);