<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>57629</bug_id>
          
          <creation_ts>2011-04-01 07:20:23 -0700</creation_ts>
          <short_desc>[WK2] Add encoding/decoding support for basic data types in WK API</short_desc>
          <delta_ts>2011-04-18 06:00:11 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit2</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>57515</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Chang Shu">cshu</reporter>
          <assigned_to name="Chang Shu">cshu</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>377780</commentid>
    <comment_count>0</comment_count>
    <who name="Chang Shu">cshu</who>
    <bug_when>2011-04-01 07:20:23 -0700</bug_when>
    <thetext>I am thinking adding some WK API for encoding/decoding basic data types like:
WKArgumentDecoderRef WKCreateArgumentDecoder(const unsigned char* data, size_t length);
bool WKDecodeUInt32(WKArgumentDecoderRef argumentDecoderRef, uint32_t&amp; value);

I did this in the patch for bug 57515. But it may be better to separate the effort of decoding in this bug.
Any comments? Thanks,</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>387665</commentid>
    <comment_count>1</comment_count>
    <who name="Chang Shu">cshu</who>
    <bug_when>2011-04-18 06:00:11 -0700</bug_when>
    <thetext>WKArray and WKDictionary is the way to go. Thus close this bug.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>