Home | History | Annotate | Download | only in rs

Lines Matching full:stream

252 void Component::serialize(OStream *stream) const {
253 stream->addU8((uint8_t)mType);
254 stream->addU8((uint8_t)mKind);
255 stream->addU8((uint8_t)(mNormalized ? 1 : 0));
256 stream->addU32(mVectorSize);
259 void Component::loadFromStream(IStream *stream) {
260 mType = (RsDataType)stream->loadU8();
261 mKind = (RsDataKind)stream->loadU8();
262 uint8_t temp = stream->loadU8();
264 mVectorSize = stream->loadU32();