Searched refs:hasNullByte (Results 1 – 2 of 2) sorted by relevance
169 fromString xs | hasNullByte xs = throw ContainsNullByte173 hasNullByte :: [Char] -> Bool174 hasNullByte = Data.List.elem '\0' function
112 bool hasNullByte = m_pos[length - 1] == '\0'; in ReadProperties() local114 if( !hasNullByte ) in ReadProperties()122 std::string str = std::string( m_pos, length - ( hasNullByte ? 1 : 0 ) ); in ReadProperties()