Archived
This forum has been archived. Please start a new discussion on GitHub.
slice question
xdm
La Coruña, Spain
in Help Center
Is this a correct definition to manage binary files as Ice objects
sequence<byte> Bytes;
class file
{
Ice::Identity id;
string name;
Bytes content;
};
sequence<byte> Bytes;
class file
{
Ice::Identity id;
string name;
Bytes content;
};
0
Comments
-
Hi,
There are many ways to do this. It's difficult to make any recommendations without knowing more about your application's requirements.
Take care,
- Mark0 -
Hello mes and everybody
My application is a music shop that sell records I interesting in particular in tow kinds of files
small audio files that are a preview of de records songs this files may be
send to the client when they want to listen the preview of a song
the other files in what i´m interesting are small jpg images that I´ll use to build a catalog for send to diferent clients0