src/ccutil/unicharcompress.cpp
void UnicharCompress::SetupDirect(const std::vector<RecodedCharID> &codes) {
  encoder_ = codes;
  ComputeCodeRange();
  SetupDecoder();
}
// Sets up an encoder directly using the given encoding vector, which maps
// unichar_ids to the given codes.
Sets up an encoder directly using the given encoding vector, which maps
unichar_ids to the given codes.
Sets up an encoder directly using the given encoding vector which maps unichar_ids to the given codes .
void UnicharCompress::SetupDirect(const std::vector<RecodedCharID> &codes) {
  encoder_ = codes;
  ComputeCodeRange();
  SetupDecoder();
}
void UnicharCompress :: SetupDirect ( const std :: vector < RecodedCharID > & codes ) { encoder_ = codes ; ComputeCodeRange ( ) ; SetupDecoder ( ) ; }
Sets up an encoder directly using the given encoding vector, which maps
unichar_ids to the given codes.
Sets up an encoder directly using the given encoding vector which maps unichar_ids to the given codes .