srec_codec 0.0.4

  • Example
  • Installing
  • Versions
  • 50


Dart library to parse and write motorola SREC


A simple usage example:

import 'dart:io';
import 'package:srec_codec/srec_codec.dart';

main() async {
  final String filename = 'data/unnamed/iodesc_iqs.hps';
  File file = new File(filename);
  final result = await parse(file.openRead());

Features and bugs

Please file feature requests and bugs at the issue tracker.



  • srec2view command line utility
  • Bug fixes


  • SRec writer
  • Lot of convenient 'to' and 'parse' functions for SRec and SRecView


  • Added parseSrecView and toSrecView methods to handle SREC view
  • Added view2srec command line utility to convert from SREC view to SREC file


  • Initial version, created by Stagehand


// Copyright (c) 2017, Ravi Teja Gudapati. All rights reserved. Use of this source code
// is governed by a BSD-style license that can be found in the LICENSE file.

import 'dart:io';
import 'package:srec_codec/srec_codec.dart';

main() async {
  final String filename = 'data/srecs/iodesc_iqs.srec';
  File file = new File(filename);
  final result = await SRec.parseRecordsByteStream(file.openRead());

1. Depend on it

Add this to your package's pubspec.yaml file:

  srec_codec: "^0.0.4"

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter packages get

Alternatively, your editor might support pub get or packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:srec_codec/srec_codec.dart';
Version Uploaded Documentation Archive
0.0.4 Aug 30, 2017 Go to the documentation of srec_codec 0.0.4 Download srec_codec 0.0.4 archive
0.0.2 Aug 29, 2017 Go to the documentation of srec_codec 0.0.2 Download srec_codec 0.0.2 archive
0.0.1 Jan 31, 2017 Go to the documentation of srec_codec 0.0.1 Download srec_codec 0.0.1 archive
0.0.3-dev Aug 29, 2017 Go to the documentation of srec_codec 0.0.3-dev Download srec_codec 0.0.3-dev archive


This feature is new.
We welcome feedback.
More details: scoring.

We analyzed this package, and provided a score, details, and suggestions below.

  • completed on Feb 3, 2018
  • Dart: 2.0.0-dev.20.0
  • pana: 0.10.1


Describes how popular the package is relative to other packages. [more]
0 / 100
Code health derived from static analysis. [more]
100 / 100
Reflects how tidy and up-to-date the package is. [more]
100 / 100
Overall score:
Weighted score of the above. [more]


Detected platforms: Flutter, web, other

No platform restriction found in primary library package:srec_codec/srec_codec.dart.


  • The description is too short.

    Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

  • Package is pre-v1 release.

    While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction API.

  • Use analysis_options.yaml.

    Rename old .analysis_options file to analysis_options.yaml.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.20.0 <2.0.0
args ^0.13.7 0.13.7 1.3.0
Dev dependencies
test >=0.12.0 <0.13.0