1e0c98714b
Remove Common_IsBuiltinList as it is not used anymore Change synchronous file writes to use Dart_TypedDataAcquireData and Dart_TypedDataReleaseData since the buffer object is always a Uint8List instead of the more expensive Dart_ListGetAsBytes. R=ajohnsen@google.com, iposva@google.com Review URL: https://codereview.chromium.org//18115002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24620 260f80e4-7a28-3924-810f-c04153c831b5
9 lines
338 B
Dart
9 lines
338 B
Dart
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
|
|
patch class _IOCrypto {
|
|
/* patch */ static Uint8List getRandomBytes(int count)
|
|
native "Crypto_GetRandomBytes";
|
|
}
|