52230ca22b
The native ports use the snapshot reader to create the dart objects. Added support for reading external arrays from snapshots but no support for writing them. The only way an external array is written to a snapshot is through the api message writer. This allows dart:io to avoid one copy of data read from files and sockets. This change only contains one use of the new API. R=asiva@google.com,iposva@google.com BUG= TEST= Review URL: https://chromiumcodereview.appspot.com//10698011 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9281 260f80e4-7a28-3924-810f-c04153c831b5