×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Oct 2006
    Location
    Berlin
    Posts
    201

    TPtr8 with append (0x00) +append(0x01)

    TPtr8 iTPtr8

    iTPtr8.Append(0x00);
    iTPtr8.Append(0x01);
    = long version

    ?
    = short version
    with
    iTPtr8.AppendFormat(?); ?

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,572

    Re: TPtr8 with append (0x00) +append(0x01)

    AppendFormat is for readable "strings", your 0x00 and 0x01 are rather "data". Overload "Append(const TUint8 *aBuf, TInt aLength);" might help you, something like this:
    Code:
    TUint8 something[]={0x00,0x01};
    iTPtr8.Append(something,2);

  3. #3
    Registered User
    Join Date
    Oct 2006
    Location
    Berlin
    Posts
    201

    Re: TPtr8 with append (0x00) +append(0x01)

    Thanks!
    That is better.

Similar Threads

  1. Replies: 7
    Last Post: 2007-01-23, 19:30
  2. Replies: 1
    Last Post: 2006-11-28, 16:07
  3. Nokia Connectivity Framework & GPS
    By a.dionisi in forum Mobile Java Tools & SDKs
    Replies: 0
    Last Post: 2006-11-15, 11:37
  4. Tptr8 to TBuf8 Conversion
    By krishnaramram in forum Symbian
    Replies: 1
    Last Post: 2006-07-24, 19:21

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •