From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joseph Turner Newsgroups: gmane.emacs.devel Subject: Re: How to get buffer byte length (not number of characters)? Date: Fri, 23 Aug 2024 23:14:02 -0700 Message-ID: <87wmk630t1.fsf@ushin.org> References: <87wmkbekjp.fsf@ushin.org> <86o75nwilg.fsf@gnu.org> <87bk1lhkvg.fsf@ushin.org> <86y14pu5rp.fsf@gnu.org> <871q2hfn7c.fsf@ushin.org> <86plq1td4n.fsf@gnu.org> <87ed6hdnpe.fsf@ushin.org> <865xrsu8c8.fsf@gnu.org> <87ttfcl8bn.fsf@ushin.org> <86zfp4qtxn.fsf@gnu.org> <878qwnj3j0.fsf@ushin.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17650"; mail-complaints-to="usenet@ciao.gmane.io" Cc: schwab@suse.de, adam@alphapapa.net To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Aug 24 08:22:34 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1shkAT-0004QU-8s for ged-emacs-devel@m.gmane-mx.org; Sat, 24 Aug 2024 08:22:33 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1shk9w-0002CL-Ma; Sat, 24 Aug 2024 02:22:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1shk2T-0007Xp-LL for emacs-devel@gnu.org; Sat, 24 Aug 2024 02:14:17 -0400 Original-Received: from out-182.mta1.migadu.com ([2001:41d0:203:375::b6]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1shk2Q-0004Ie-HE for emacs-devel@gnu.org; Sat, 24 Aug 2024 02:14:17 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ushin.org; s=key1; t=1724480051; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ewnVVb+BiH062s5+zMdJRjg6uNr34+q3MetVM2/wIcI=; b=IX7F70NOIK1LapqNhpB1d4tzgcfn06OEvCbNbBeMioJZbXqOKAKgW4bavqhrvNm9uoF76P CwJpX0We6u+PZceRkbOAfYD1YbwpyWkUVyRUuPIhdzrZrHYg7ldFHdwLyADf7hR/Jx0aXd jWGoQPR+kghzKUQctsKybB2HGL1Ml08PJ3VDMp9iS9DsLDXmeo3PD0xmYFWYle7xY+G6OS W8xggo73hPs0UL28kinGKmySQZ3FVYHvKpLrDS+iXA2c9xRjIhp1uzB//RdR610gWeVyia hvIUxVAdxL8lTYi8XfiDyOCTUbhm+6Kt206nj5LdMPSK7XnIruOLWkJb+X3Fxg== In-Reply-To: <878qwnj3j0.fsf@ushin.org> (Joseph Turner's message of "Thu, 22 Aug 2024 20:56:19 -0700") X-Migadu-Flow: FLOW_OUT Received-SPF: pass client-ip=2001:41d0:203:375::b6; envelope-from=joseph@ushin.org; helo=out-182.mta1.migadu.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 24 Aug 2024 02:21:58 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:323105 Archived-At: Joseph Turner writes: > > However AFAIK, there's no specified or de facto standard for storing > coding metadata in a hyperdrive, so this approach requires deliberation > first. I've made an issue on the `hypercore-fetch` repository: > > https://github.com/RangerMauve/hypercore-fetch/issues/100 If you're interested, here's a similar issue on the holepunch hyperdrive tracker about a standard for storing hyperdrive file encoding metadata: https://github.com/holepunchto/hyperdrive/issues/372 Thanks! Joseph