pub repository
mirror.p-hatan.comconvert
3.1.2Utilities for converting between data representations. Provides a number of Sink, Codec, Decoder, and Encoder types.
Cached in Iran · Upstream SHA-256 matched
Readme
Dart CI pub package package publisher
Contains encoders and decoders for converting between different
data representations. It's the external counterpart of the
dart:convert
SDK library, and contains less-central APIs and APIs that need more flexible
versioning.
Changelog
3.1.2
- Require Dart 3.4
- Add chunked decoding support (
startChunkedConversion) forCodePageencodings. - Upper-cast the return type of the decoder from
List<int>toUint8List. - Move to
dart-lang/coremonorepo.
3.1.1
- Require Dart 2.18
- Fix a number of comment references.
3.1.0
- Add a fixed-pattern DateTime formatter. See #210 in package:intl.
3.0.2
- Fix bug in
CodePageclass. See issue #47.
3.0.1
- Dependency clean-up.
3.0.0
- Stable null safety release.
- Added
CodePageclass for single-byteEncodingimplementations.
2.1.1
- Fixed a DDC compilation regression for consumers using the Dart 1.x SDK that
was introduced in
2.1.0.
2.1.0
- Added an
IdentityCodec<T>which implementsCodec<T,T>for use as default value for in functions accepting an optionalCodecas parameter.
2.0.2
- Set max SDK version to
<3.0.0, and adjust other dependencies.
2.0.1
PercentEncoderno longer encodes digits. This follows the specified behavior.
2.0.0
Note: No new APIs have been added in 2.0.0. Packages that would use 2.0.0 as
a lower bound should use 1.0.0 instead—for example, convert: ">=1.0.0 <3.0.0".
HexDecoder,HexEncoder,PercentDecoder, andPercentEncoderno longer extendChunkedConverter.
1.1.1
- Fix all strong-mode warnings.
1.1.0
- Add
AccumulatorSink,ByteAccumulatorSink, andStringAccumulatorSinkclasses for providing synchronous access to the output of chunked converters.
1.0.1
- Small improvement in percent decoder efficiency.
1.0.0
- Initial version
Installing
export PUB_HOSTED_URL=https://pub.mirror.p-hatan.com
flutter pub add convertpubspec.yaml
name: convert
version: 3.1.2
description: >-
Utilities for converting between data representations.
Provides a number of Sink, Codec, Decoder, and Encoder types.
repository: https://github.com/dart-lang/core/tree/main/pkgs/convert
environment:
sdk: ^3.4.0
dependencies:
typed_data: ^1.3.0
dev_dependencies:
benchmark_harness: ^2.2.0
dart_flutter_team_lints: ^3.0.0
test: ^1.17.0
Version history
| Version | Published | Archive | SHA-256 |
|---|---|---|---|
| 1.0.0 | 2015-10-08T20:45:42.840Z | Cached | 48806cc7b70d72d8921a888f4ad46a761932c17f563e722824d65bccd60c8c90 |
| 1.0.1 | 2015-11-03T00:48:38.388Z | Cached | d68dc1086e7b75247ca43519706068212f0747e76079082b3e0db3cc9aa4b6cb |
| 1.1.0 | 2016-04-22T21:20:44.837Z | Cached | 4d1602a074fbaf5c869b0aaea3d0f7cb962544f3c31df0c229f7dacbb5838d06 |
| 1.1.1 | 2016-04-27T00:13:27.881Z | Cached | d329a54584338685ef838e6c52c52a482b70aef78cad625567fda82f8d640d09 |
| 2.0.0 | 2016-06-03T22:29:01.923Z | Cached | d1adf274fab052c028c9cc7052d6fead6209945a69651e20676b8491e3c0b9d7 |
| 2.0.1 | 2016-08-08T22:14:12.311Z | Cached | 45c7a83da5d927ec0780d475a755c7bec3b38ce33308413e3729c7afc958464f |
| 2.0.2 | 2018-07-18T20:49:18.568420Z | Cached | 1e81104947b5ef23d1088d9d7bca29c6a1790a082dd37d6cf6239f6808356c15 |
| 2.1.0 | 2018-12-17T10:58:19.426858Z | Cached | a764566212a76b086a6cb281601164188125bfab3a79de36bf0307bf0f1e5f36 |
| 2.1.1 | 2018-12-19T18:05:55.135108Z | Cached | 3fa83bc417e26f1d55814443a603747d48e3cdf55b2f4fea27dea8e9224dcefd |
| 3.0.0-nullsafety.0 | 2020-11-16T21:18:38.336792Z | Cached | 7b2b88ab4d47c18d57c7ce43c88397f782bcbeaa404cdb246f03c448bcd410e9 |
| 3.0.0 | 2021-02-05T20:58:07.475788Z | Cached | df567b950053d83b4dba3e8c5799c411895d146f82b2147114b666a4fd9a80dd |
| 3.0.1 | 2021-06-24T14:40:39.553222Z | Cached | f08428ad63615f96a27e34221c65e1a451439b5f26030f78d790f461c686d65d |
| 3.0.2 | 2022-05-30T11:30:00.197480Z | Cached | 196284f26f69444b7f5c50692b55ec25da86d9e500451dc09333bf2e3ad69259 |
| 3.1.0 | 2022-10-12T11:51:55.004543Z | Cached | 1be13198012c1d5bc042dc40ad1d7f16cbd522350984c0c1abf471d6d7e305c6 |
| 3.1.1 | 2022-10-12T21:53:42.729144Z | Cached | 0f08b14755d163f6e2134cb58222dd25ea2a2ee8a195e53983d57c075324d592 |
| 3.1.2 | 2024-10-16T08:13:55.467117Z | Cached | b30acd5944035672bc15c6b7a8b47d773e41e2f17de064350988c5d02adb1c68 |
Dependencies
typed_data "^1.3.0"