github.com/Microsoft/azure-vhd-utils@v0.0.0-20230613175315-7c30a3748a1b/vhdcore/block/dataReader.go (about)

     1  package block
     2  
     3  // DataReader interface that all block readers specific to disk type (fixed,
     4  // dynamic, differencing) needs to satisfy.
     5  //
     6  type DataReader interface {
     7  	// Read reads the disk block identified by the parameter block
     8  	//
     9  	Read(block *Block) ([]byte, error)
    10  }