Streams are a common programming concept in many language (e.g Java), and i understand the basic concept, but does anyone know how Streams are implemented in the underlying machine code. For example; are Streams just machine language subroutines that move data (and sometimes include their own subsubroutines) ?

Any help/ideas would be great.

Thanks