BYTARR_GET Name
BYTARR_GET Purpose
Extract a byte array from a byte buffer.
Category
Calling Sequence
bytarr_get, buf, out Inputs
buf = byte buffer to extract output from. in
Keyword Parameters
Keywords
INDEX=indx Index of byte array to extract:
0=1st, 1=2nd, ... Returned by bytarr_put
array was inserted. Out of range indices return
a single 0 byte (no error).
The inverse routine, bytarr_put, is used to insert
arrays into the buffer.
You must handle converting from byte to correct
data type when extracting.
Outputs
out = byte array extracted from buffer. out
Common Blocks
Notes
Modification History
R. Sterner, 1996 May 30
R. Sterner, 2010 Apr 30 --- Converted arrays from () to [].
Copyright (C) 1996, Johns Hopkins University/Applied Physics Laboratory
This software may be used, copied, or redistributed as long as it is not
sold and this copyright notice is reproduced on each copy made. This
routine is provided as is without any express or implied warranties
whatsoever. Other limitations apply as described in the file disclaimer.txt.