Home Help Center

slice question

xdmxdm La Coruña, SpainAdministrators, ZeroC Staff Jose Gutierrez de la ConchaOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
Is this a correct definition to manage binary files as Ice objects

sequence<byte> Bytes;

class file
{
Ice::Identity id;
string name;
Bytes content;
};

Comments

  • mesmes CaliforniaAdministrators, ZeroC Staff Mark SpruiellOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    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,
    - Mark
  • xdmxdm La Coruña, SpainAdministrators, ZeroC Staff Jose Gutierrez de la ConchaOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    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 clients
Sign In or Register to comment.