func (s *Shard) SafeWrite(proc *exec.Process, location int32, val []byte) {
	_, err := proc.WriteAt(val, int64(location))
	if err != nil {
		s.error(proc, err)
	}
}
// SafeWrite writes to a process and handles errors while writing.
SafeWrite writes to a process and handles errors while writing.
// SafeWrite writes to a process and handles errors while writing .
func (s *Shard) SafeWrite(proc *exec.Process, location int32, val []byte) {
	_, err := proc.WriteAt(val, int64(location))
	if err != nil {
		s.error(proc, err)
	}
}
func ( s * Shard ) SafeWrite ( proc * exec . Process , location int32 , val [ ] byte ) { _ , err := proc . WriteAt ( val , int64 ( location ) ) if err != nil { s . error ( proc , err ) } }
SafeWrite writes to a process and handles errors while writing.
SafeWrite writes to a process and handles errors while writing .