Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for UnmarshalAsJSON (0.08 sec)

  1. docs/debugging/inspect/export.go

    				if _, e := header.UnmarshalMsg(hdr); e != nil {
    					return e
    				}
    				b, e := header.MarshalJSON()
    				if e != nil {
    					return e
    				}
    				var buf bytes.Buffer
    				if _, e := msgp.UnmarshalAsJSON(&buf, meta); e != nil {
    					return e
    				}
    				versions[idx] = version{
    					Idx:      idx,
    					Header:   b,
    					Metadata: buf.Bytes(),
    				}
    				return nil
    			})
    			if e != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 08 15:58:02 UTC 2022
    - 9.1K bytes
    - Viewed (0)
  2. docs/debugging/xl-meta/main.go

    						return err
    					}
    					b, err := header.MarshalJSON()
    					if err != nil {
    						return err
    					}
    					var buf bytes.Buffer
    					if _, err := msgp.UnmarshalAsJSON(&buf, meta); err != nil {
    						return err
    					}
    					versions[idx] = version{
    						Idx:      idx,
    						Header:   b,
    						Metadata: buf.Bytes(),
    					}
    					type erasureInfo struct {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 05 11:57:44 UTC 2024
    - 40.3K bytes
    - Viewed (0)
Back to top