Return-Path: william@bourbon.usc.edu Delivery-Date: Sun Nov 23 16:37:33 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on merlot.usc.edu X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 Received: from bourbon.usc.edu (bourbon.usc.edu [128.125.9.75]) by merlot.usc.edu (8.14.1/8.14.1) with ESMTP id mAO0bXXd021668 for ; Sun, 23 Nov 2008 16:37:33 -0800 Received: from bourbon.usc.edu (localhost.localdomain [127.0.0.1]) by bourbon.usc.edu (8.14.2/8.14.1) with ESMTP id mAO0ZkIq027894 for ; Sun, 23 Nov 2008 16:35:46 -0800 Message-Id: <200811240035.mAO0ZkIq027894@bourbon.usc.edu> To: cs551@merlot.usc.edu Subject: Re: Bit Vector Date: Sun, 23 Nov 2008 16:35:46 -0800 From: Bill Cheng Someone wrote: > When we read the bit-vector from the metadata file, we need to convert the > 256 byte bit-vector string to its 128 byte binary equivalent to store it in > the index structure. We are having trouble with that. How should we go about > doing that? If you can convert a 40 byte ASCII representation of SHA1 to a 20 byte binary data, you can use the same thing with the bit-vector. Please see my message with timestamp "Sun 16 Nov 10:56". -- Bill Cheng // bill.cheng@usc.edu