diff options
author | Anders Broman <anders.broman@ericsson.com> | 2011-01-12 07:25:34 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2011-01-12 07:25:34 +0000 |
commit | c2cefb1e10e135599712dc8c29f0de4454d36d9a (patch) | |
tree | dbffc545e4ae2e1c8dca08bb31f4f0b8aa361d3e /doc/README.developer | |
parent | 5ebd7cb133a2de36e4f2b460ccad2070eaf81318 (diff) |
Document and export:
tvb_bcd_dig_to_ep_str();
svn path=/trunk/; revision=35499
Diffstat (limited to 'doc/README.developer')
-rw-r--r-- | doc/README.developer | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/README.developer b/doc/README.developer index 56e3424466..b8956c82b8 100644 --- a/doc/README.developer +++ b/doc/README.developer @@ -1334,6 +1334,15 @@ gchar *tvb_bytes_to_str_punct(tvbuff_t *tvb, gint offset, gint len, gchar punct) This function is similar to tvb_bytes_to_str(...) except that 'punct' is inserted between the hex representation of each byte. +gchar *tvb_bcd_dig_to_ep_str(tvbuff_t *tvb, const gint offset, const gint len, dgt_set_t *dgt, gboolean skip_first); + +Given a tvbuff, an offset into the tvbuff, and a length that starts +at that offset (which may be -1 for "all the way to the end of the +tvbuff"), fetch BCD encoded digits from a tvbuff starting from either +the low or high half byte, formating the digits according to an input digit set, +if NUll a default digit set of 0-9 returning "?" for overdecadic digits will be used. +A pointer to the EP allocated string will be returned. +Note: a tvbuff content of 0xf is considered a 'filler' and will end the conversion. Copying memory: guint8* tvb_memcpy(tvbuff_t*, guint8* target, gint offset, gint length); |