Hardware, Software & Product Development | Sparx EngineeringHardware, Software & Product Development | Sparx EngineeringHardware, Software & Product Development | Sparx EngineeringHardware, Software & Product Development | Sparx Engineering
  • Home
  • Expertise
    • Software Engineering
    • Electrical Engineering
    • Chemical Products and Services
    • Biomedical Engineering
    • Mechanical Engineering
    • Production Management
    • Automation
    • Industrial Design
  • Blog
  • About Us

Blog

Reading line-by-line from a serial port (or other byte-oriented stream)

By Ben Voigt | Software | 9 comments | 16 March, 2017 | 6

With many .NET developers moving from the traditional (and broken) System.IO.Ports.SerialPort DataReceived event handling to either the correct and more efficient BaseStream.BeginRead / BaseStream.EndRead pair I promoted in my last post or the newer BaseStream.ReadAsync method introduced in .NET Framework 4.5 along with the C# async and await keywords, a common complaint is that BaseStreamRead more

Recent Tweets

  • RT  @SpaceX : Docking confirmed – Crew Dragon has arrived at the  @space_station ! https://t.co/KiKBpZ8R2H

    10 months ago
  • RT  @SpaceflightNow : SCRUB. SpaceX’s launch director has announced there will no launch today due to bad weather at the Kennedy Space Center…

    10 months ago
  • 'mRIXS' Offers Deeper Look into Battery Chemistry https://t.co/u5XRXgAimx #Engineering #technology

    12 months ago
  • Home
  • Expertise
  • Blog
  • About Us
Sparx Technologies, LLC. dba Sparx Engineering © 2009 - 2020 | All Rights Reserved
  • Home
  • Expertise
    • Software Engineering
    • Electrical Engineering
    • Chemical Products and Services
    • Biomedical Engineering
    • Mechanical Engineering
    • Production Management
    • Automation
    • Industrial Design
  • Blog
  • About Us
Hardware, Software & Product Development | Sparx Engineering