Factbites
 Where results make sense
About us   |   Why use us?   |   Reviews   |   PR   |   Contact us  

Topic: Byte stream


Related Topics

  
  Byte stream - Wikipedia, the free encyclopedia
A byte stream is an abstraction used in computer science to describe a particular kind of communication channel between two entities.
Formally, it is a channel (often bidirectional, but sometimes unidirectional) down which one entity can send a sequence of bytes to the entity on the other end.
One well-known example of a communication protocol which provides a byte-stream service to its clients is the Transmission Control Protocol of the Internet protocol suite, which provides a bidirectional 8- bit byte stream; it is being used to bring you this Web page.
en.wikipedia.org /wiki/Byte-stream   (195 words)

  
 Zvon - RFC 1037 [NFILE - A File Access Protocol] - BYTE STREAM WITH MARK
BYTE STREAM WITH MARK ON CHAOSNET A mark is recognized on Chaosnet by a packet bearing the opcode 201 (octal).
The basic design of Byte Stream with Mark on TCP (and other transport layers that do not implement packets natively) is to preserve record integrity by putting clearly demarcated, byte-counted records in the natural records of the encapsulated stream.
Nevertheless, the Byte Stream with Mark must extract the count of the full Byte Stream with Mark record from the first such buffer of each Byte Stream with Mark record, and maintain and update this count as succeeding component buffers are read.
www.zvon.org /tmRFC/RFC1037/Output/chapter12.html   (1572 words)

  
 CLHS: Function WRITE-BYTE
byte ---an integer of the stream element type of stream.
Should signal an error of type type-error if stream is not a stream.
Might signal an error of type type-error if byte is not an integer of the stream element type of stream.
www.lisp.org /HyperSpec/Body/fun_write-byte.html   (84 words)

  
 get_byte/2   (Site not responding. Last check: 2007-11-06)
If the stream position is neither end-of-stream or past-end-of-stream then let Byte be the next byte to be read from the input stream, the stream position is advanced one byte.
If the stream has the property eof_action(reset) then the stream position is reset so that input can be read from it again, else if the stream has the property eof_action(eof_code) then if the number -1 and Byte are unifiable then get_byte/2 succeeds else fails.
get_byte/2 fails, and a byte was removed from the stream, the stream is left as: 66, 67,...
www.trinc-prolog.com /doc/pl_p62.htm   (305 words)

  
 Patent 5448746: System for comounding instructions in a byte stream prior to fetching and identifying the instructions ...
One such system may be a system where a byte string to be compounded is such that it is known that there are no data bytes in the instruction string, and when the location of a reference point, such as the opcode of the first instruction, is known.
Once an instruction byte stream has been pre-processed in accordance with this technique and identifier bits encoded for the various scalar instructions, more optimum results for achieving parallel execution may be obtained by using a bigger window for looking at larger groups, and then picking the best combination of adjacent pairs for compounding.
In the simplest case, a byte string is to be compounded when it is known that there are no data bytes in the instruction stream, and when the location of the opcode of the first instruction is known.
www.freepatentsonline.com /5448746.html   (16333 words)

  
 Java 2 Platform SE v1.3.1: Class InputStream
This abstract class is the superclass of all classes representing an input stream of bytes.
Returns the number of bytes that can be read (or skipped over) from this input stream without blocking by the next caller of a method for this input stream.
is not thrown, then the stream is reset to a fixed state that depends on the particular type of the input stream and how it was created.
java.sun.com /j2se/1.3/docs/api/java/io/InputStream.html   (1224 words)

  
 peek_byte/2   (Site not responding. Last check: 2007-11-06)
This built-in clause peeks to the next available byte in the stream, the stream is not altered.
If the stream position is neither end-of-stream or past-end-of-stream then let Byte be the next byte to be read from the input stream, the stream position is not changed.
If the stream has the property eof_action(reset) then the stream position is reset so that input can be read from it again, else if the stream has the property eof_action(eof_code) then if the number -1 and Byte are unifiable then peek_byte/2 succeeds else fails.
www.trinc-prolog.com /doc/pl_p70.htm   (293 words)

  
 FAQ - UTF and BOM
The BE form uses big-endian byte serialization (most significant byte first), the LE form uses little-endian byte serialization (least significant byte first) and the unmarked form uses big-endian byte serialization by default, but may include a byte order mark at the beginning to indicate the actual byte serialization used.
A: A byte order mark (BOM) consists of the character code U+FEFF at the beginning of a data stream, where it can be used as a signature defining the byte order and encoding form, primarily of unmarked plaintext files.
When data are exchange in the same byte order as they were in the memory of the originating system, they may appear to be in the wrong byte order on the receiving system.
www.unicode.org /unicode/faq/utf_bom.html   (4903 words)

  
 DataInput   (Site not responding. Last check: 2007-11-06)
The two bytes are stored most significant byte first (i.e., "big endian") regardless of the native host byte ordering.
The bytes are stored most significant byte first (i.e., "big endian") regardless of the native host byte ordering.
The reading of bytes ends when either the end of file or a line terminator is encountered.
www.svtehs.com /ipjv/ApiDoc/java/io/DataInput.html   (1540 words)

  
 21.3. The Streams Dictionary [CLHS-21.2]
When a #\Newline is output to (respectively input from) a file stream, its file position is increased by 2 since #\Newline is encoded as CR / LF in the file.
data is converted to/from the 8-bit bytes that the underlying OS uses.
CLISP manage an internal buffer for input or output (in addition to the buffering that might be used by the underlying OS).
clisp.cons.org /impnotes/stream-dict.html   (620 words)

  
 Byte-stream File Handling   (Site not responding. Last check: 2007-11-06)
Byte-stream I/O deals with a stream of bytes; there is no concept of an end-of-file mark and so you must be careful to ensure that you do not read beyond the end of the file.
It is your responsibility to ensure that the buffer is large enough to hold the number of bytes to be read.
It is your responsibility to ensure that the buffer is large enough to hold the number of bytes to be written.
www.emunix.emich.edu /info/cobol/books/fhbyte.htm   (1501 words)

  
 QNX Developer Support
A file can be, for example, a data set that you can read and write repeatedly (such as a disk file), a stream of bytes generated by a program (such as a pipeline), or a stream of bytes received from or sent to a peripheral device (such as the keyboard or display).
A text stream consists of one or more lines of text that can be written to a text-oriented display so that they can be read.
A byte stream treats a file as a sequence of bytes.
www.qnx.com /developers/docs/momentics621_docs/dinkum_en/abridged/lib_file.html   (1032 words)

  
 [No title]   (Site not responding. Last check: 2007-11-06)
Eeprom_ReadPrefs mov w, #$ff ; set address to $2fff, which is mov stream_addresslo, w ; the last byte of memory mov w, #DcuMaxAddrHi mov stream_addresshi, w jmp Eeprom_ReadByte ; read the byte ; Stream_OpenForWrite (modifies w, stash2, stash1) ; prepares a new record to be written.
The byte to write is passed in w.
The number of bytes ; left in the record is available in stream_lengthlo/hi.
www.ugcs.caltech.edu /~bret/images/create/electronics/dcu_src.txt   (1877 words)

  
 Reliable Byte-Stream (TCP)   (Site not responding. Last check: 2007-11-06)
The relevance of the 32-bit sequence number space is that the sequence number used on a given connection might wrap around---a byte with sequence number x could be sent at one time, and then at a later time, a second byte with the same sequence number x might be sent.
This means that the number of bytes written by the sender is not necessarily the same as the number of bytes read by the receiver.
For example, the application might write 8 bytes, then 2 bytes, then 20 bytes to a TCP connection, while on the receiving side, the application reads 5 bytes at a time inside a loop that iterates 6 times.
www.cs.arizona.edu /llp/book/node63.html   (7785 words)

  
 CLHS: Function READ-BYTE
read-byte reads and returns one byte from stream.
Should signal an error of type error if stream is not a binary input stream.
If there are no bytes remaining in the stream and eof-error-p is true, an error of type end-of-file is signaled.
www.lisp.org /HyperSpec/Body/fun_read-byte.html   (117 words)

  
 System Call I/O   (Site not responding. Last check: 2007-11-06)
The ER90 device cannot access data that begins at an odd-byte memory address, therefore, byte stream data must be input and output to the device in even increments.
For writes, the byte count must be a multiple of the block size, excluding the last I/O request.
If a tape is accessed as byte stream as in the previous example, but is actually a blocked tape, an error will be returned on the I/O request as the byte count is not a multiple of 4096 bytes.
mare.essc.psu.edu /CrayDoc/manuals/2051_2.0.2/html-2051_2.0.2/e5idb8smg.html   (1652 words)

  
 jGuru: Difference between character and byte stream.   (Site not responding. Last check: 2007-11-06)
Can any one tell what is the difference between the character and byte stream.
I would recommend using byte streams instead of character streams unless absolutely necessary.
Character streams convert the underlying data bytes to Unicode, which is a costly operation.
www.jguru.com /forums/view.jsp?EID=1220422   (157 words)

  
 MySQL Lists: maxdb: RE: JDBC: LONG BYTE stream writing
The driver stops reading the stream if the number of bytes is reached, which was specified by the length parameter.
But there is a backdoor, if you set the length parameter to -1 the driver reads from the stream until "end of stream" was found.
But be aware some streams never send an "end of stream" which leads to an infinite loop.
lists.mysql.com /maxdb/7961   (311 words)

  
 SWI-Prolog 3.3.6 Reference Manual: Section 3.18   (Site not responding. Last check: 2007-11-06)
Reads the next input byte like get_byte/1, but does not remove it from the input stream.
Reads the next input byte like get_byte/2, but does not remove it from the stream.
Reads the next input character like get_char/1, but does not remove it from the input stream.
www.cs.ucsb.edu /~cs162/prolog/Manual/sec-3.18.html   (350 words)

  
 dib.lisp
The first is a function that writes a pixel value ;; to a stream.
(defgeneric make-pixel-writers (bits-per-pixel)) (defmethod make-pixel-writers ((bits-per-pixel (eql 1))) (let ((bit 1) (byte 0)) (values (lambda (stream pixel) (when (eql pixel 1) (incf byte bit)) (when (eql (setf bit (ash bit 1)) #x100) (write-byte byte stream) (setf bit 1 byte 0))) (lambda (stream) ;; Pad the final byte if necessary.
(unless (eql bit 1) (write-byte byte stream)))))) (defmethod make-pixel-writers ((bits-per-pixel (eql 4))) (let ((hilo nil) (save 0)) (values (lambda (stream pixel) (if (null hilo) (setq save (logand #x0f pixel) hilo t) (progn (write-byte (logior save (ash (logand pixel #x0f) 4)) stream) (setf hilo nil)))) (lambda (stream) ;; Pad the final byte if necessary.
www.dynamiclearningcenter.com /samples/ray-tracing/dib.lisp   (174 words)

  
 Edinburgh University Library: Projects: Digital Preservation- Methods
In their project recommendations, they state that it is safer to preserve the simple byte stream of the object separately from the medium it was created on.
This is to some extent the process of combining an emulation approach with migration, as one has to preserve a tool with the digital object to migrate it to its original platform.
When converting a file to a byte stream, it is vital that when it is accessed, the file can be re-converted into a readable format, in other words, a reversal of the Ingest process.
www.lib.ed.ac.uk /sites/digpres/methodsencapsulation.shtml   (469 words)

  
 [No title]   (Site not responding. Last check: 2007-11-06)
:- mode read_midi(in, in, di, uo) is det. % Reads from a concurrent stream of messages, and puts the messages % on to a concurrent stream of bytes.
:- pred byte2b(status, byte, byte, stream(byte), stream(message), io__state, io__state).
:- pred write_two(status, status, byte, byte, stream(message), stream(byte), io__state, io__state).
www.cs.mu.oz.au /481/project/agents/midi.m   (2692 words)

  
 Software Development with Java
The destination output stream is given to the constructor.
We could have used a single byte like "-1", but it is better to a code that is at the same level as the rest of the communication (strings, in this case).
takes the raw byte file, uncompresses it and produces a raw byte stream, which is fed into other streams.
www.seas.gwu.edu /~simhaweb/java/lectures/module13/module13.html   (7722 words)

  
 Byte input/output   (Site not responding. Last check: 2007-11-06)
These built-in predicates enable a single byte to be input from and output to a binary stream.
unifies with the next byte that will be read from the stream associated with the stream-term or alias
onto the stream associated with the stream-term or alias
pauillac.inria.fr /~diaz/gnu-prolog/manual/manual036.html   (137 words)

  
 User Level Byte-Stream Layer for High Performance Network Interconnects   (Site not responding. Last check: 2007-11-06)
The Dolphin SBus system already provides a stream library, but that library is implemented as a kernel-level device driver.
The minimum deliverable for this project is the implementation of such a streaming library and its use with a simple test program.
Time permitting, an extension of this project asks the student to write a few micro-benchmarks with which they will evaluate the performance differences between their new user-level library and the existing kernel-level library, for different message sizes and message rates.
www.cc.gatech.edu /classes/cs7100_98_fall/projects/schwan01.html   (337 words)

  
 dBforums - byte stream parsing
I am writing a program which parses out a byte stream into a data structure.
first byte ('A') is one piece of data, the next bye is the next peice of data, bytes
> bytes 3-5 are the next, 6-14 the next and so on.
www.dbforums.com /t387376.html   (535 words)

  
 Re: [Usatlas-csc-l] byte stream for the combined test beam from Michael Schernau on 2004-08-11 (US ATLAS CSC Mailing ...   (Site not responding. Last check: 2007-11-06)
Re: [Usatlas-csc-l] byte stream for the combined test beam from Michael Schernau on 2004-08-11 (US ATLAS CSC Mailing List Archive)
Re: [Usatlas-csc-l] byte stream for the combined test beam
Assamagan, Ketevi: "RE: [Usatlas-csc-l] byte stream for the combined test beam"
atlas-csc.inst.bnl.gov /list/0534.html   (175 words)

  
 mms-computing : java CAPI ISDN byte stream to A-Law, u-Law and PCM sound converter classes   (Site not responding. Last check: 2007-11-06)
ISDN byte streams are encoded as either u-Law (North America, Japan) or A-Law (most other countries) [2] with the bit order 'swapped'.
Now the bytes are coded as an A-Law stream or u-Law stream.
Java classes that convert A-Law or u-Law byte streams into PCM byte streams or *.wav files and vice versa.
www.mms-computing.co.uk /uk/co/mmscomputing/device/capi/sound   (274 words)

  
 [No title]
This allows the: ;;; (ldb (byte 8 component-positioni) data) to be compiled efficiently.
Due to performance issues, I wanted the methods that use this slot to be in-lined.
r 15) do (write-bits stream (svref huffman-size #xf0) (svref huffman-code #xf0)) (setq r (i- r 16))) (encode stream r data huffman-size huffman-code) (setq r 0))))) ;;; ;;; The dc coefficient is encoded as a differential value.
members.cox.net /vogt/jpeg.lisp   (2039 words)

  
 Byte Stream Monitor   (Site not responding. Last check: 2007-11-06)
Let BSMC be the byte stream monitor creator.
BSP is a key to a byte stream producer.
As above, except BSC is a byte stream consumer which can accept limit bytes on the first call.
www.cis.upenn.edu /~KeyKOS/agorics/KeyKos/Gnosis/152.html   (123 words)

Try your search on: Qwika (all wikis)

Factbites
  About us   |   Why use us?   |   Reviews   |   Press   |   Contact us  
Copyright © 2005-2007 www.factbites.com Usage implies agreement with terms.