|
IoTivity-Lite
|
#include <stddef.h>
#include <stdint.h>
Functions | |
| int | oc_base64_decode (uint8_t *str, size_t len) |
| In place decoding of base 64 string. More... | |
| int | oc_base64_encode (const uint8_t *input, size_t input_len, uint8_t *output_buffer, size_t output_buffer_len) |
| encode byte buffer to base64 string. More... | |
| int oc_base64_decode | ( | uint8_t * | str, |
| size_t | len | ||
| ) |
In place decoding of base 64 string.
Size of a base 64 input string will always be larger than the resulting byte array. Unused trailing bytes will be set to zero. Use the return value to know the size of the output array.
Example: output_len = oc_base64_decode(b64_buf, strlen(b64_buf)); if (output_len < 0) { //handle error }
| [in,out] | str | base 64 encoded string that will be decoded in place. |
| [in] | len | size of the base 64 encoded string. |
| int oc_base64_encode | ( | const uint8_t * | input, |
| size_t | input_len, | ||
| uint8_t * | output_buffer, | ||
| size_t | output_buffer_len | ||
| ) |
encode byte buffer to base64 string.
The base64 encoder does not NUL terminate its output. User the return value to add '\0' to the end of the string.
Output is uint8_t casting is needed to use value as a string.
Example:
// calculate the space required for the output size_t b64_buf_size = (sizeof(input) / 3) * 4; if (sizeof(input) % 3 != 0) { b64_buf_size += 4; } // one extra byte for terminating NUL character. b64_buf_size++; // allocate space char *b64_buf = (char *)calloc(1, b64_buf_size); int output_len = oc_base64_encode(input, sizeof(input), (uint8_t *)b64_buf, b64_buf_size); if (output_len < 0) { //handle error } // append NUL character to end of string. b64Buf[output_len] = '\0';
| [in] | input | pointer to input byte array to be encoded |
| [in] | input_len | size of input byte array |
| [out] | output_buffer | buffer to hold the base 64 encoded string |
| [in] | output_buffer_len | size of the output_buffer |
-1
if the output buffer provided was not large enough


A feature is an aspect or attribute of Common Lisp, of the implementation, or of the environment. A feature is identified by a symbol.
A feature is said to be present in a Lisp image if and only if the symbol naming it is an element of the list held by the variable *features*, which is called the features list.


This is item number
0
in the container.
This is item number
0
in the container.
This is item number
0
in the container.
This is item number
0
in the container.


Planet Sick-Boy: http://www.sick-boy.com "We Put the SIN in Cinema"
© Copyright 2001 Planet Sick-Boy. All Rights Reserved.
Writer/director Amos Kollek and actress Anna Levine have teamed up to make two pretty downbeat films (Sue and Fiona) that have each won awards at the Cannes Film Festival. Their latest project, Fast Food, Fast Women, is decidedly more upbeat and plays like a romantic Big Apple fairytale. It's sweet, quite often funny, and is even a bit reminiscent of a Woody Allen comedy, although Women's characters exist a few rungs further down the social ladder than the usual denizens of Woody's New York.
Women begins with a scene that features a woman lying down in the crosswalk of a busy intersection. She's almost run over, and explains to the baffled driver, "I'm just trying to put some excitement in my Sunday." The woman is Bella (Levine, Water Drops on Burning Rocks), a rail-thin waitress who has abandoned a lucrative career on Wall Street to wait tables at a Manhattan diner. With a biological clock ticking as loud as an air horn, she's obsessed with her upcoming birthday (the big 3-5) and worried that the 12-year affair she's been having with a married man (Austin Pendleton, Oz) might not ever lead her down the aisle.
 They hit it off, but in an attempt to not frighten him off, Bella lies and tells Bruno that she doesn't like kids. This is unfortunate, as Bruno's ex-wife has just run off to Tibet with her yoga instructor and dumped their two kids on his doorstep.
In the meantime, a group of retired men who frequent Bella's diner discuss their own love lives (or complete lack thereof). Paul (Robert Modica) is pretty depressed and tries his luck with the personal ads, where he finds Emily (Louise Lasser, Requiem For a Dream), a horny widow who starts talking about marriage after just one date. Seymour (Victor Argo, The Yards), on the other hand, shoots for the opposite side of the age spectrum and begins to stalk an overeducated peep show dancer (Valerie Geffner). Throw in a stuttering Polish hooker (Angelica Torn, daughter of Rip Torn and Geraldine Page), and you've got yourself an eclectic tale of lonely eccentrics.
The stories cross in unusual and unexpected ways, a credit to Kollek's writing style. His direction is unassuming, leaving his actors to do their thing, which they do quite well here.  Women, which was one of the few American films selected to compete at Cannes, should appeal to most viewers, but especially to those entrenched in their mid 30s.
1:35 - contains nudity, adult language and mild violence
========== X-RAMR-ID: 28872 X-Language: en X-RT-ReviewID: 212682 X-RT-TitleID: 1107947 X-RT-SourceID: 595 X-RT-AuthorID: 1146
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews